Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article describes new features in .NET 11. It was last updated for Preview 4.
.NET 11 is currently in preview. The final release is expected in November 2026. You can download .NET 11 here.
.NET runtime
The .NET 11 runtime includes:
- Updated minimum hardware requirements for x86/x64 and Arm64 architectures, requiring more modern instruction sets to improve performance and reduce maintenance complexity.
- Runtime-native async (Runtime Async), which produces cleaner stack traces and lower overhead. Runtime Async no longer requires
<EnablePreviewFeatures>true</EnablePreviewFeatures>for projects that targetnet11.0. The runtime libraries themselves are compiled withruntime-async=on. - JIT improvements for bounds check elimination, redundant checked context removal, switch expression folding, constant-folding
SequenceEqual, and redundant branch elimination. There are also new Arm SVE2 intrinsics and improved hardware-intrinsic cost modeling.
For more information, see What's new in the .NET 11 runtime.
.NET libraries
The .NET 11 libraries include new APIs for:
- Process expansion with run-and-capture helpers, fire-and-forget launches,
SafeProcessHandlelifecycle methods, and tighter handle control. - Compression, including improved Base64 APIs, new methods for ZIP archive entries, Zstandard compression in System.IO.Compression, and CRC32 validation when reading ZIP entries.
- System.Text.Json improvements, including generic type info retrieval, JsonNamingPolicy.PascalCase, per-member naming policy overrides, type-level ignore conditions, F# discriminated union support, and Utf8JsonWriter.Reset with options.
- Built-in OpenTelemetry metrics for MemoryCache.
- Discriminated-union scaffolding (
UnionAttributeandIUnion) in System.Runtime.CompilerServices. - Tar archive format selection and GNU sparse format 1.0 support.
Consolesupport for theFORCE_COLORenvironment variable.- TLS handshake hardening and certificate-validation alerts on Linux.
- HTTP/2 automatic downgrade for Windows authentication.
For more information, see What's new in the .NET 11 libraries.
.NET SDK
The .NET 11 SDK includes:
- Smaller SDK installers on Linux and macOS through assembly deduplication, with additional savings by skipping crossgen for
DotnetTools-only assemblies. - Improved CA1873 code analyzer with reduced noise and clearer diagnostic messages.
- Support for creating and editing solution filters (
.slnf) from thedotnet slnCLI. - File-based app support for
#:includeto split apps across multiple files. - A new
dotnet run -eoption to pass environment variables from the command line. dotnet watchimprovements, including Aspire app-host integration, automatic crash recovery, and device selection for MAUI and mobile projects.- OpenTelemetry replaces Application Insights for CLI telemetry.
- Foundation for a NativeAOT entry point for the
dotnetCLI.
For more information, see What's new in the SDK for .NET 11.
ASP.NET Core
For information about what's new in ASP.NET Core, see What's new in ASP.NET Core for .NET 11.
C# 15
C# 15 includes these features:
For information about new C# features, see What's new in C# 15.
EF Core
See What's new in EF Core for .NET 11.
Windows Forms
See What's new in Windows Forms for .NET 11.
WPF
See What's new in WPF in .NET 11.