.NET 11 Brings C# 15 Unions and Faster Developer Workflows
Microsoft’s .NET 11 release adds C# 15 union types, SDK startup improvements, AI tooling and library updates. The Standard Term Support release is supported for two years.
A release focused on everyday development
Microsoft has announced .NET 11, a Standard Term Support (STS) release with two years of support. Microsoft says STS and Long Term Support releases follow the same quality and servicing policies; the difference is how long they are supported. .NET 10 remains a supported LTS option.
The release spans C# 15, the SDK, runtime, libraries, ASP.NET Core, .NET MAUI and Windows development. Its changes range from language features that make application states more explicit to tooling updates intended to reduce routine startup overhead.
C# 15 makes alternatives explicit
C# 15 is the default language version for projects targeting .NET 11. A major addition is union types: a value can represent one of a declared set of case types, and switch expressions can be checked for handling every case.
For example, a product lookup could return either a Product or a ProductNotFound value. Callers can then handle both outcomes through the union type, rather than using object or an unrelated base class to represent them. C# 15 also introduces closed hierarchies, which limit direct derivation to the declaring assembly and give the compiler information for checking patterns over the hierarchy.
Other additions include collection expression arguments, extension indexers, and labeled break and continue. Microsoft notes that memory safety work remains in preview, with separate opt-in requirements. F# 11, meanwhile, improves compiler memory use and reduces allocations in some collection operations. It also adds ways to limit concurrent asynchronous work.
Less waiting in the toolchain
The .NET 11 SDK enables a Native AOT CLI host by default. Some commands, including help and version queries, can run without starting the managed CLI. The MSBuild server also remains warm between CLI invocations by default, reducing repeated startup work.
There are changes for specific workflows as well. File-based apps can include additional source files, solution filters can be created and edited from the command line, and dotnet watch adds Aspire app-host integration, crash recovery, and mobile device selection. For teams using Microsoft.Testing.Platform, dotnet test adds run-level timeouts, failure limits, clearer progress reporting, and per-module results directories. Microsoft cautions that these options are specific to that test runner and are not interchangeable with VSTest command-line options.
The runtime and libraries also receive hundreds of optimizations, according to Microsoft. JIT changes target redundant bounds checks and branches, devirtualization, and constant folding. Native AOT interface dispatch has a shared helper intended to reduce interface-call-site code and improve throughput in interface-heavy workloads. Microsoft recommends measuring effects on individual applications, since performance depends on the workload and publishing choices.
Runtime Async is another notable development, but it remains in preview. It moves asynchronous suspension and resumption into the runtime rather than relying on compiler-generated state machines. One result is that profilers and debuggers can show asynchronous methods more directly in live call stacks. Applications must opt into the new compilation model, and teams should test dependencies and diagnostics before adopting it.
AI tools and application libraries
The SDK includes an MCP server template, which uses the official MCP C# SDK and provides a sample tool. Developers can start a project with dotnet new mcpserver -o MyMcpServer.
Microsoft.Extensions.AI provides abstractions including IChatClient and IEmbeddingGenerator, with support for familiar .NET patterns such as dependency injection, caching, and OpenTelemetry. Microsoft Agent Framework builds on these abstractions for agents that use tools and maintain conversation state, as well as workflows coordinating agents and application code. The AG-UI hosting integration for interactive Blazor experiences is currently prerelease.
For developers working with agent-based coding tools, dotnet-skills offers .NET-specific guidance for development, testing, upgrades, and diagnostics. OSRepos lists it as Active, with 5.9k stars and 266 recently gained. It is a complementary project, not a component of the .NET 11 SDK.
More capable libraries, with limits to check
The libraries add built-in Zstandard compression, expanded process APIs, and four stream adapters for working with in-memory data without first copying it into a contiguous buffer. LINQ adds FullJoin, which retains unmatched elements from both inputs, and System.Text.Json adds support for C# unions, F# discriminated unions, and JSON Lines output from asynchronous sequences.
Some additions have important constraints. Microsoft says F# union JSON support uses reflection and does not support source generation, trimming, or Native AOT. Check those limits before using it in a trimmed application. The release also adds ZIP CRC32 validation when reading entries and options for reproducible container image digests.
The dotnet-runtime repository is the project home for building the .NET runtime, libraries, and shared dotnet host installers. OSRepos lists it as Active with 18.4k stars and 26 recently gained. It is relevant for developers interested in contributing to the underlying runtime rather than simply using the new release.
What to watch
.NET 11 combines broadly available language, SDK, and library updates with preview features that need more evaluation. Teams can start by testing their workloads against the new SDK and runtime, then assess preview capabilities such as Runtime Async separately. .NET Conf 2026 is scheduled for November 10-13, with product team sessions on November 10 and 11 followed by two days of community sessions.
Sources
Projects in this post
skills: Add .NET Skills to AI Coding Agents
A curated collection of portable skills and host-specific agents for .NET and C# coding agents. It helps agents handle development, testing, upgrades, diagnostics, and other specialized .NET tasks.
ActiveHealth 68/100
runtime: Build the .NET Runtime, Libraries, and Host
.NET Runtime is the source repository for building the .NET runtime, libraries, and shared `dotnet` host installers across supported platforms. It is for developers building, testing, or contributing to .NET itself, rather than a standalone application framework.
ActiveHealth 80/100
Found this useful?
Share it with someone who follows open source.
Written with the help of AI from the sources listed above and OSRepos data, and reviewed before publishing. How we measure projects.

