This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
Learn about the new features in .NET 10 and find links to further documentation. This page has been updated for Preview 6.
.NET 10, the successor to.NET 9, issupported for three years as a long-term support (LTS) release. You candownload .NET 10 here.
Your feedback is important and appreciated. If you have questions or comments, use the discussion onGitHub.
The .NET 10 runtime introduces improvements in JIT inlining, method devirtualization, and stack allocations. It also includes AVX10.2 support, NativeAOT enhancements, improved code generation for struct arguments, and enhanced loop inversion for better optimization.
For more information, seeWhat's new in the .NET 10 runtime.
The .NET 10 libraries introduce new APIs in cryptography, globalization, numerics, serialization, collections, and diagnostics, and when working with ZIP files. New JSON serialization options include disallowing duplicate properties and strict serialization settings. Post-quantum cryptography support has been expanded with Windows Cryptography API: Next Generation (CNG) support.
For more information, seeWhat's new in the .NET 10 libraries.For details on JSON serialization, seeSystem.Text.Json overview.
The .NET 10 SDK includes support forMicrosoft.Testing.Platform indotnet test
, standardizes CLI command order, and updates the CLI to generate native tab-completion scripts for popular shells. For containers, console apps can natively create container images, and a new property lets you explicitly set the format of container images. The SDK also supports platform-specific .NET tools, one-shot tool execution withdotnet tool exec
, the newdnx
tool execution script, CLI introspection with--cli-schema
, and enhanced file-based apps with publish support and native AOT.
For more information, seeWhat's new in the SDK for .NET 10.For details on .NET tools, seeManage .NET tools.
For information about what's new in .NET Aspire, see.NET Aspire — what's new?.
The ASP.NET Core 10.0 release introduces several new features and enhancements, including Blazor improvements, OpenAPI enhancements, and minimal API updates. Features include Blazor WebAssembly preloading, automatic memory pool eviction, enhanced form validation, improved diagnostics, and passkey support for Identity.
For details, seeWhat's new in ASP.NET Core for .NET 10.
C# 14 introduces several new features and enhancements to improve developer productivity and code quality. Key updates include:
get
andset
accessors. You can access the compiler-generated backing field using thefield
contextual keyword.nameof
expression now supports unbound generic types, such asList<>
, where it returns the name of the type without requiring a type argument.Span<T>
andReadOnlySpan<T>
.ref
,in
, orout
are allowed in lambda expressions without specifying parameter types.extension
blocks add support for static extension methods, and static and instance extension properties.?.
operator.+=
and-=
.++
) and decrement (--
) operators.For more information, seeWhat's new in C# 14.
The F# updates in .NET 10 include several new features and improvements across the language, standard library, and compiler service. Key updates include:
F# Language:
New language features require enabling the<LangVersion>preview</LangVersion>
project property in.fsproj
files. These features become the default with the .NET 10 release.
FSharp.Core Standard Library:
Changes to theFSharp.Core
standard library are applied automatically to projects compiled with the new SDK unless a lowerFSharp.Core
version is explicitly pinned.
FSharp.Compiler.Service:
General improvements and bug fixes in the compiler implementation.
For more information, see theF# release notes.
The Visual Basic updates in .NET 10 include the following enhancements to the compiler:
unmanaged
generic constraint, which enables better compatibility with runtime APIs.These updates ensure that Visual Basic can consume updated features in C# and the runtime. For more information, seeWhat's new in Visual Basic.
The .NET MAUI updates in .NET 10 include several new features and quality improvements for .NET MAUI, .NET for Android, and .NET for iOS, Mac Catalyst, macOS, and tvOS. Features include MediaPicker enhancements for selecting multiple files and image compression, WebView request interception, and support for Android API levels 35 and 36.
For details, seeWhat's new in .NET MAUI in .NET 10.
The EF Core 10 release introduces several new features and improvements, including LINQ enhancements, performance optimizations, improved support for Azure Cosmos DB, and named query filters that allow multiple filters per entity type with selective disabling.
For details, seeWhat's new in EF Core for .NET 10.
Changes in Windows Forms for .NET 10 include clipboard-related updates, portedUITypeEditors
from .NET Framework, and quality enhancements.
For details, seeWhat's new in Windows Forms for .NET 10.
The WPF updates in .NET 10 include several performance improvements, Fluent style changes, bug fixes, and more.
For details, seeWhat's new in WPF in .NET 10.
Was this page helpful?
Was this page helpful?