Runtime

.NET Conf 2026 Day 1: .NET 11 GA, C# 15 Unions and Faster Builds

Kevin Griffin Kevin W. Griffin
Runtime

.NET 11 is GA and Day 1 of .NET Conf 2026 packed in C# 15 unions, opt-in runtime async, Native AOT CLI speedups and BuildX build caching. Here are the numbers, what is GA versus preview, and what to try first.

Key points

  • C# 15 unions make switches exhaustive even over types from libraries you do not own; the compiler emits a struct.
  • Native AOT CLI work cut `dotnet --version` from about 118 ms to 33 ms on macOS arm64, at a 2.19 MiB SDK size cost.
  • BuildX in C# Dev Kit 11 took a single-change build of the 407-project Aspire solution from 36.1 seconds to 2.1 seconds.
  • `-mt` multithreaded MSBuild is still opt-in, with SDK 11.0.200 targeted as the release where it becomes the default.
  • ASP.NET Core adds header-based CSRF protection built on Fetch Metadata, showing about 4x form-post throughput versus token validation.
  • Runtime async is opt-in and allocates zero bytes per operation on synchronous completion; becoming the default is planned for .NET 12.

Real-world use

  • A form-heavy Blazor app that needs CSRF protection without giving up post throughput.
  • A MAUI project where you want `dotnet run` plus on-device tests against a chosen Android or iOS device.
  • A large Aspire solution whose builds the IDE and agent runs can share through a common cache.
  • WinForms line-of-business apps that want dark mode and accent colors without redesigning controls.

This summary was generated by the agent from the original post on Kevin Griffin. The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message