Training
Learning path
Use advance techniques in canvas apps to perform custom updates and optimization - Training
Use advance techniques in canvas apps to perform custom updates and optimization
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Learn about the new features in .NET 10 and find links to further documentation. This page is updated for Preview 2.
.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.
The .NET 10 runtime introduces new features and performance improvements. Key updates include:
For more information, see What's new in the .NET 10 runtime.
The .NET 10 libraries introduce several new features and improvements, including:
Update
mode and parallel extraction.TryAdd
and TryGetValue
overloads return an index for fast access.ReferenceHandler
in JsonSourceGenerationOptionsAttribute.For more information, see What's new in the .NET 10 libraries.
The .NET 10 SDK introduces the following new features and enhancements, including:
dotnet
CLI commands improve readability and consistency.For more information, see What's new in the SDK for .NET 10.
.NET Aspire releases version 9.1, which focuses on quality-of-life fixes.
For more information, see What's new in .NET Aspire 9.1.
The ASP.NET Core 10.0 release introduces several new features and enhancements, including:
Blazor enhancements:
ReconnectModal
component to the Blazor Web App project template for improved reconnection UI control.NavigateTo
method no longer scrolls to the top for same-page navigation.NavLink
component now ignores query strings and fragments when using NavLinkMatch.All
.RowClass
parameter to QuickGrid
for applying styles to rows based on their data.CloseColumnOptionsAsync
method to QuickGrid
for programmatically closing column options.OpenAPI improvements:
Minimal APIs:
null
for nullable value types.Authentication and authorization:
Miscellaneous:
RedirectHttpResult.IsLocalUrl
helper method for detecting local URLs.For more information, see What'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
and set
accessors. The compiler-generated backing field can now be accessed using the field
contextual keyword.nameof
: The nameof
expression now supports unbound generic types, such as List<>
, returning the name of the type without requiring type arguments.Span<T>
and ReadOnlySpan<T>
with new implicit conversions, enabling more natural programming with these types.ref
, in
, or out
in lambda expressions without specifying parameter types.For more information, see What's new in C# 14.
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. Key updates include:
General improvements:
ShadowTypeConverter
for converting formatted strings to Shadow
on VisualElement
.SpeechOptions.Rate
for controlling the playback rate in Text-to-Speech.Switch.OffColor
for customizing the color of the Switch
control when off.SearchBar.SearchIconColor
for customizing the search icon color.HybridWebView.InvokeJavascriptAsync
method for invoking JavaScript without requiring generic arguments.Deprecations:
FontImageExtension
XAML markup extension is deprecated. Use FontImageSource
instead.MessagingCenter
is now internal. Replace it with WeakReferenceMessenger
from the CommunityToolkit.Mvvm
package..NET for Android:
dotnet run
for Android projects.aapt2
, reducing build times..NET for iOS, Mac Catalyst, macOS, tvOS:
For more information, see What's new in .NET MAUI in .NET 10.
The EF Core 10 release introduces several new features and improvements, including:
LINQ enhancements:
LeftJoin
operator, simplifying LINQ queries that require LEFT JOIN
operations.RightJoin
operator, enabling LINQ queries that require RIGHT JOIN
operations.ExecuteUpdateAsync improvements:
ExecuteUpdateAsync
now accepts a regular, non-expression lambda, reducing verbosity when updating entities.Performance optimizations:
DateOnly.ToDateTime(timeOnly)
.LIMIT
operations.Count
operations on ICollection<T>
.MIN
/MAX
operations over DISTINCT
.Miscellaneous:
@__city_0
to city
).DatePart.Microsecond
and DatePart.Nanosecond
.For more information, see What's new in EF Core for .NET 10.
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:
<LangVersion>preview</LangVersion>
project property in .fsproj
files. These features become the default with the .NET 10 release.FSharp.Core Standard Library:
FSharp.Core
standard library are applied automatically to projects compiled with the new SDK unless a lower FSharp.Core
version is explicitly pinned.FSharp.Compiler.Service:
For more information, see the F# release notes.
The Visual Basic updates in .NET 10 include the following features and enhancements:
unmanaged
constraint support: The Visual Basic compiler now interprets and enforces the unmanaged
generic constraint, enabling better compatibility with runtime APIs.These updates ensure that Visual Basic can consume updated features in C# and the runtime, improving compatibility and performance.
For more information, see What's new in Visual Basic.
Changes in Windows Forms for .NET 10 include:
Clipboard-related updates:
SetDataAsJson<T>
and TryGetData<T>
.BinaryFormatter
usage.Windows.ClipboardDragDrop.EnableUnsafeBinaryFormatterSerialization
) to explicitly enable BinaryFormatter
for Clipboard scenarios.Ported UITypeEditors:
UITypeEditors
from the .NET Framework, including ToolStripCollectionEditor
and editors related to the DataGridView
control.Quality enhancements:
For more information, see What's new in Windows Forms for .NET 10.
The WPF updates in .NET 10 include several performance improvements, Fluent style changes, bug fixes, and engineering health updates:
Performance improvements:
PartialList
with ReadOnlyCollection
to enhance performance.Fluent style changes:
Label
.Expander
by adjusting a KeyTime
value.Bug fixes:
ScrollViewer
and ContextMenu
.BitmapMetadata
and native dependencies.Engineering health:
For more information, see What's new in WPF in .NET 10.
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Training
Learning path
Use advance techniques in canvas apps to perform custom updates and optimization - Training
Use advance techniques in canvas apps to perform custom updates and optimization
Documentation
Navigate to the breaking changes in .NET 10.
What's new in the SDK and tooling for .NET 10
Learn about the new .NET SDK features introduced in .NET 10.
Learn about the new .NET features introduced in the .NET 10 runtime.