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.
Learn about the new features in .NET 10 and find links to further documentation. This page is updated for Preview 4.
.NET 10, the successor to .NET 9, is supported for three years as a long-term support (LTS) release. You can download .NET 10 here.
Your feedback is important and appreciated. If you have questions or comments, use the discussion on GitHub.
.NET runtime
The .NET 10 runtime introduces improvements in JIT inlining, method devirtualization, and stack allocations. It also includes AVX10.2 support and NativeAOT enhancements.
For more information, see What's new in the .NET 10 runtime.
.NET libraries
The .NET 10 libraries introduce new APIs in cryptography, globalization, numerics, serialization, collections, and diagnostics, and when working with ZIP files.
For more information, see What's new in the .NET 10 libraries.
.NET SDK
The .NET 10 SDK includes support for Microsoft.Testing.Platform in dotnet 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.
For more information, see What's new in the SDK for .NET 10.
.NET Aspire
For information about what's new in .NET Aspire, see .NET Aspire — what's new?.
ASP.NET Core
The ASP.NET Core 10.0 release introduces several new features and enhancements, including Blazor improvements, OpenAPI enhancements, and minimal API updates.
For details, see What's new in ASP.NET Core for .NET 10.
C# 14
C# 14 introduces several new features and enhancements to improve developer productivity and code quality. Key updates include:
- Field-backed properties provide a smoother path from auto-implemented properties to writing custom
get
andset
accessors. You can access the compiler-generated backing field using thefield
contextual keyword. - The
nameof
expression now supports unbound generic types, such asList<>
, where it returns the name of the type without requiring a type argument. - First-class support for implicit conversions of
Span<T>
andReadOnlySpan<T>
. - Parameter modifiers like
ref
,in
, orout
are allowed in lambda expressions without specifying parameter types. - Support for partial instance constructors and partial events, complementing partial methods and properties introduced in C# 13.
- New
extension
blocks add support for static extension methods, and static and instance extension properties. - Null-conditional assignment using the
?.
operator.
For more information, see What's new in C# 14.
F#
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 the
FSharp.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 the F# release notes.
Visual Basic
The Visual Basic updates in .NET 10 include the following enhancements to the compiler:
- The compiler now interprets and enforces the
unmanaged
generic constraint, which enables better compatibility with runtime APIs. - The compiler respects the OverloadResolutionPriorityAttribute. This enhancement ensures faster, Span-based overloads are preferred and helps to resolve overload ambiguities.
These updates ensure that Visual Basic can consume updated features in C# and the runtime. For more information, see What's new in Visual Basic.
.NET MAUI
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.
For details, see What's new in .NET MAUI in .NET 10.
EF Core
The EF Core 10 release introduces several new features and improvements, including LINQ enhancements, performance optimizations, and improved support for Azure Cosmos DB.
For details, see What's new in EF Core for .NET 10.
Windows Forms
Changes in Windows Forms for .NET 10 include clipboard-related updates, ported UITypeEditors
from .NET Framework, and quality enhancements.
For details, see What's new in Windows Forms for .NET 10.
WPF
The WPF updates in .NET 10 include several performance improvements, Fluent style changes, bug fixes, and more.
For details, see What's new in WPF in .NET 10.