.NET 9 Preview 6 is now available!

It’s a great time to check out the latest .NET 9 Preview! We just shipped our sixth preview release, adding to some great features in the previous previews with major enhancements across the .NET Runtime, SDK, libraries, C#, and frameworks including ASP.NET Core, Blazor, and .NET MAUI. Check out the full release notes linked below and get started today.

This release contains the following improvements:

Libraries:

Improvements to System.Numerics
Support Primary Constructors in Logging Source Generator
System.Text.Json Improvements
[GeneratedRegex] on properties
Regex.EnumerateSplits
OrderedDictionary<TKey, TValue>
ReadOnlySet<T>
allows ref struct used in many places throughout the libraries
Collection lookups with spans
More span-based APIs
Base64Url
SocketsHttpHandler by default in HttpClientFactory
TLS resume with client certificates on Linux
System.Net.ServerSentEvents
Introducing the Metrics Gauge Instrument
Full release notes

Runtime:

ARM64 Code Generation
Code Layout
Loop Optimizations
Reduced Address Exposure
AVX10v1 Support
Hardware Intrinsic Code Generation
Constant Folding for Floating Point and SIMD Operations
Full release notes

SDK

NuGetAudit now raises warnings for vulnerabilities in transitive dependencies
dotnet nuget why
MSBuild BuildChecks
Full release notes

You can find detailed release notes for additional features in .NET 9 Preview 6 below:

C#

Partial properties
Full release notes

ASP.NET Core

Fingerprinting of static web assets
Improved distributed tracing for SignalR
Enhancements to Microsoft.AspNetCore.OpenAPI
Analyzer to warn when [Authorize] is overridden by [AllowAnymous]
ComponentPlatform renamed to RendererInfo
Split large HTTP/2 headers across frames
Full release notes

.NET MAUI

Full release notes

Get started

To get started with .NET 9, install the .NET 9 SDK.

If you’re on Windows using Visual Studio, we recommend installing the latest Visual Studio 2022 preview, or get started with Visual Studio Code and the C# Dev Kit extension.

Team Announcements & Discussions

The team has been making monthly announcements alongside full release notes on the dotnet/core GitHub Discussions and has seen great engagement and feedback from the community. We will continue to post each new release on GitHub, but as we get closer to launch this November alongside .NET Conf 2024 (save the date today!), we wanted to cross-post our release details on the .NET blog.

Discuss this release with the product teams on GitHub through the GitHub discussion announcement for this release.

.NET 9 Preview 6 Discussion
.NET Libraries & Runtime Discussion
.NET MAUI Discussion
ASP.NET Core Discussion

Stay up to date with .NET 9

You can stay up-to-date with all the features of .NET 9 with:

What’s new in .NET 9
What’s new in C# 13
What’s new in ASP.NET Core
What’s new in .NET MAUI
What’s new in EF Core
Breaking Changes in .NET 9
.NET 9 Releases

Additionally, be sure to subscribe to the GitHub Discussions RSS news feed for all release announcements.

We want your feedback, so head over to the .NET 9 Preview 6 GitHub Discussion to discuss features and give feedback for this release.

The post .NET 9 Preview 6 is now available! appeared first on .NET Blog.

Scroll to Top