Microsoft released.NET 11 on November 10, 2026, with C# 15 unions, runtime optimizations and updated command-line and build tooling. The release pairs runtime 11.0.0 with SDK 11.0.100. Sources: Microsoft
C# 15 is the default for.NET 11 projects and adds unions that describe alternative case types, with exhaustiveness checking for switch expressions. Native ahead-of-time compilation now powers the command-line host by default, while MSBuild keeps a server running between invocations. Sources: Microsoft
Microsoft says just-in-time compiler changes improve bounds-check elimination, devirtualization and constant folding. Sources: Microsoft
OpenAPI document generation now defaults to version 3.2, with earlier versions selectable. Union JSON bodies receive anyOf schemas; this support excludes route, query, header and form binding. Runtime Async remains in preview, AG-UI hosting is prerelease and Blazor AI components remain experimental. Sources: Microsoft
Microsoft advises teams adopting.NET 11 to update SDK pins, target frameworks, packages and workloads. It also recommends reviewing breaking changes and minimum CPU requirements. Teams should then test representative workloads and deployment configurations. Sources: Microsoft