Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit focus mode

What's new in .NET 10

  • 2025-07-16
Feedback

In this article

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.

.NET runtime

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.

.NET libraries

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.

.NET SDK

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.

.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. 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

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 customget andset accessors. You can access the compiler-generated backing field using thefield contextual keyword.
  • Thenameof 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 ofSpan<T> andReadOnlySpan<T>.
  • Parameter modifiers likeref,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.
  • Newextension blocks add support for static extension methods, and static and instance extension properties.
  • Null-conditional assignment using the?. operator.
  • User-defined compound assignment operators like+= and-=.
  • User-defined increment (++) and decrement (--) operators.

For more information, seeWhat'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 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.

Visual Basic

The Visual Basic updates in .NET 10 include the following enhancements to the compiler:

  • The compiler now interprets and enforces theunmanaged generic constraint, which enables better compatibility with runtime APIs.
  • The compiler respects theOverloadResolutionPriorityAttribute. 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, seeWhat'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. 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.

EF Core

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.

Windows Forms

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.

WPF

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.

Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, seeour contributor guide.

Feedback

Was this page helpful?

YesNo

In this article

Was this page helpful?

YesNo