Edit

Share via


What's new in .NET 11

This article describes new features in .NET 11. It was last updated for Preview 3.

.NET 11 is currently in preview. The final release is expected in November 2026. You can download .NET 11 here.

Your feedback is important and appreciated. If you have questions or comments, use the discussion on GitHub.

.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. Starting with Preview 3, Runtime Async no longer requires <EnablePreviewFeatures>true</EnablePreviewFeatures> for projects that target net11.0.
  • JIT improvements for bounds check elimination, redundant checked context removal, switch expression folding, and new Arm SVE2 intrinsics.
  • WebAssembly improvements, including WebCIL payload loading and better debugging symbols.

For more information, see What's new in the .NET 11 runtime.

.NET libraries

The .NET 11 libraries include new APIs for:

  • String and character manipulation, including Rune-based operations in String and BFloat16 support in BitConverter.
  • Compression, including improved Base64 APIs, new methods for ZIP archive entries, Zstandard compression in System.IO.Compression, and CRC32 validation when reading ZIP entries.
  • Generic type info retrieval in System.Text.Json.
  • System.Text.Json naming and ignore enhancements, including JsonNamingPolicy.PascalCase, per-member naming policy overrides, and type-level ignore conditions.
  • Tar archive format selection.
  • Numerics, including a Matrix4x4 performance improvement.
  • Low-level I/O, including SafeFileHandle pipe-type reporting and anonymous pipe creation, and RandomAccess read/write on non-seekable handles.
  • Regular expression support for all Unicode newline sequences via RegexOptions.

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.
  • Improved CA1873 code analyzer with reduced noise and clearer diagnostic messages.
  • Analyzer bug fixes for CA1515, CA1034, and CA1859.
  • A new NETSDK1235 warning for custom .nuspec files used with PackAsTool.
  • Support for creating and editing solution filters (.slnf) from the dotnet sln CLI.
  • File-based app support for #:include to split apps across multiple files.
  • A new dotnet run -e option to pass environment variables from the command line.
  • dotnet watch improvements, including Aspire app-host integration and automatic crash recovery.

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.

Breaking changes

For information about breaking changes in .NET 11, see Breaking changes in .NET 11.

See also