Financial TimesAmericas' Fastest-Growing 2025
Certified PartnerOdoo Gold · Adobe Gold Solution · Shopify Premier partnershipsOdoo Gold · Adobe Gold · Shopify Premier partnerSee all
One business dayA senior architect replies to every inquiry · +1 (631) 897-7276Architect reply within one business dayLet's talkCall us
Inc. Regionals 2025Fastest-growing private companies in AmericaInc. Regionals 2025 honoreeSee awards
Americas' Fastest-Growing Companies 2025Recognized by the Financial TimesFT Fastest-Growing Companies 2025See the rankingRanking
4.8 / 5 on Clutch265 verified client reviews4.8/5 on Clutch · 265 reviewsRead the reviews
4.8 · 265 Clutch reviews
US United States
May 6, 202512 min readUpdated on October 5, 2026

.NET 9 Preview 7 features, and where each one landed

· Vice President, Microsoft Technologies
.NET 9 Preview 7 features, and where each one landed

.NET 9 Preview 7 was the seventh public preview of .NET 9, released on August 13, 2024, about three months before general availability. It's the build where Guid.CreateVersion7() first appeared, so a single line could give you database keys that sort by creation time.

That method, and almost everything else in Preview 7, now ships in .NET 9. The date that matters today is a different one: .NET 9 reaches end of support on November 10, 2026. This page walks through the Preview 7 features by area, notes where each one ended up, and closes with the order of work for moving to .NET 10.

Where Preview 7 sits in the .NET 9 timeline

Previews aren't meant for production. They let developers try new APIs and file feedback before the surface freezes. The official announcement lists every Preview 7 item. The .NET 9 Preview 7 release notes on GitHub link the detail for the runtime, libraries, SDK, C# 13, ASP.NET Core and .NET MAUI.

The dates below come from Microsoft's own pages.

Milestone Date Source
.NET 9 Preview 7 released August 13, 2024 dotnet/core release notes
.NET 9 general availability November 12, 2024 .NET support policy
STS support extended from 18 to 24 months Announced September 16, 2025 .NET Blog
.NET 10 (LTS) released November 11, 2025 .NET support policy
Latest .NET 9 patch, 9.0.21 October 13, 2026 .NET 9 downloads
.NET 9 and .NET 8 end of support November 10, 2026 .NET Blog
.NET 10 end of support November 14, 2028 .NET support policy

If you've seen May 12, 2026 quoted as the cutoff, that was the original plan, and the earlier version of this article repeated it. .NET 9 is a standard-term support (STS) release, and STS used to mean 18 months. Microsoft's September 2025 change stretched it to 24, which put .NET 9 on the same end date as .NET 8.

After November 10, Microsoft "will no longer provide servicing updates, security fixes, or technical support" for either version. Apps keep running. New CVEs simply stay open.

Libraries: the .NET 9 Preview 7 changes you'll meet in code review

Most of what developers still search for sits in the libraries. The final status of each item is in What's new in .NET libraries for .NET 9.

Preview 7 feature What it does What to check
BinaryFormatter removal complete APIs still exist, but every call throws an exception Search your solution and dependencies for it before upgrading
Guid.CreateVersion7 Creates time-ordered UUID v7 values per RFC 9562 Good fit for database keys that benefit from sort order
ReadOnlySpan<char>.Split() enumeration Splits a span into segments with no string allocations Hot parsing paths
Compression with zlib-ng GZipStream, ZipArchive and friends now use zlib-ng for more consistent processing across platforms Same APIs; rerun compression-heavy jobs after the upgrade
Interlocked.CompareExchange for more types Adds byte, sbyte, short and ushort overloads Low-level concurrent code
X509CertificateLoader One method per certificate format, no content sniffing Replace old new X509Certificate2(bytes) patterns
Debug.Assert reports the condition Failed asserts print the condition text by default Nothing; it's a free debugging win
AES-GCM and ChaChaPoly1305 on Apple platforms Supported on iOS 13+, tvOS 13+ and Mac Catalyst Mobile apps that encrypt locally
Tensor<T> marked experimental New tensor types for AI workloads, flagged as experimental Don't build production APIs on it in .NET 9

Guid.CreateVersion7

Guid.NewGuid() returns a Version 4 UUID, which is almost entirely random. Great for uniqueness. Bad for a clustered index, because new rows land all over it instead of at the end.

Guid.CreateVersion7() follows the Version 7 layout from RFC 9562. A Unix-epoch timestamp fills the front of the value and the rest is random, so later IDs sort after earlier ones.

var orderId = Guid.CreateVersion7();
// Later IDs sort after earlier ones, which keeps index inserts near the end.

The API reference lists a second overload, Guid.CreateVersion7(DateTimeOffset timestamp), which takes your own timestamp and throws if it's earlier than the Unix epoch. The parameterless version uses the current UTC time. One thing to weigh before you adopt it: anyone who sees a v7 ID can read when it was created. If that's sensitive, keep these IDs out of public URLs.

BinaryFormatter now always throws

Preview 7 finished a removal that started years earlier. The BinaryFormatter APIs are still in .NET 9, but every call throws PlatformNotSupportedException, whatever the project type. Microsoft's reasoning is security: a deserializer that lets its input decide which objects to create can't be made safe.

In practice this is the change most likely to break an upgrade from .NET Framework or an older .NET release. Look in old caching layers, session state and desktop apps first. The BinaryFormatter migration guide names four replacements: System.Text.Json, DataContractSerializer, MessagePack and protobuf-net. An unsupported compatibility package exists as a stopgap, but it brings the old risk back with it.

Runtime and JIT: faster code you didn't have to write

The runtime work in Preview 7 needs no code changes. The just-in-time compiler simply generates better machine code for patterns you already use, and Microsoft documents each change in What's new in the .NET 9 runtime.

Two items target the plain for (int i = 0; ...) loop. On Arm64, post-indexed addressing folds the array load and the pointer increment into one instruction. Strength reduction replaces the multiply-and-add behind each array address with a single pointer increment, so you keep writing readable indexed loops while the compiler emits the pointer version. The final release added induction-variable widening on x64, loop-counter direction changes and more constant folding for floating-point and SIMD expressions.

Boxing a value type normally costs a heap allocation. From .NET 9, the 64-bit compiler can put the box on the stack when it can prove the box never escapes the method, which means less garbage collection work. This one carries forward well. The .NET 10 runtime notes say .NET 10 "extends the .NET 9 stack allocation improvements" to small arrays, and adds escape analysis for struct fields and delegates.

Preview 7 also introduced the Scalable Vector Extension (SVE) on Arm64, but only as experimental support. The System.Runtime.Intrinsics.Arm.Sve APIs carry ExperimentalAttribute and may change, and the docs warn that debugger stepping through SVE code "might not function properly." Keep it in the lab.

The last runtime item is a garbage collector default. Dynamic adaptation to application sizes (DATAS) was opt-in in .NET 8 and became the default in .NET 9, in place of plain Server GC. It aims for a heap roughly proportional to your long-lived data rather than to the size of the machine. If you run tight container memory limits, measure before and after the upgrade.

C# 13 and the .NET SDK

Preview 7 added one C# 13 language feature, the OverloadResolutionPriority attribute. Library authors use it to tell the compiler which overload to prefer when several match, typically to steer callers toward a newer, faster overload without breaking existing code. C# 13 shipped with the .NET 9 SDK alongside params collections, a new lock type and implicit indexer access in object initializers, per What's new in .NET 9.

The SDK changes matter most to whoever keeps the build agents healthy. Workload sets pin all installed workloads to one version until you update them on purpose, which ends the "it builds on my machine" drift between laptops and CI. The dotnet workload config --update-mode command switches between modes. Built-in container publishing can now push to registries without valid TLS, which helps internal test setups, and its environment variables now start with DOTNET_ instead of SDK_.

Preview 7 also fixed the "torn SDK" problem. When Visual Studio and the SDK update at different times, analyzers can mismatch, and .NET 9 now detects that and pulls a matching compiler package itself. The final release went further, per What's new in the SDK for .NET 9. dotnet test can run tests for multiple target frameworks in parallel. MSBuild gained script analyzers ("BuildChecks"), and Terminal Logger became the default.

ASP.NET Core: Native AOT, OpenAPI and a sign-in default to test

ASP.NET Core had one of the longest Preview 7 lists. The items below are the ones with operational impact, all confirmed in What's new in ASP.NET Core in .NET 9.

SignalR (client and server) and Microsoft.AspNetCore.OpenApi now support trimming and Native AOT. Real-time and documented APIs can be published as small, fast-starting native binaries, which matters most where startup time and memory per container instance drive the cloud bill. .NET 9 also made OpenAPI document generation built in through AddOpenApi and MapOpenApi, and Preview 7 improved the transformer APIs that adjust the generated document.

The change to test first is Pushed Authorization Requests (PAR). OpenIdConnectHandler now moves sign-in parameters out of the browser redirect and into a direct server-to-server call, so nobody in the browser can read or alter them. What people miss is the default. .NET 9 turns PAR on whenever the identity provider's discovery document advertises it. If sign-in breaks after the upgrade, PushedAuthorizationBehavior lets you disable it, or require it.

Smaller items worth a look:

  • The kestrel.connection.duration metric now records why a connection closed, such as tls_handshake_failed or request_headers_timeout, so TLS problems show up on dashboards.
  • Each Kestrel named pipe endpoint can have its own security settings.
  • Health-check endpoints can skip metrics recording with DisableHttpMetrics.
  • Minimal APIs can call ProducesProblem and ProducesValidationProblem on a whole route group.
  • ExceptionHandlerMiddleware gained a StatusCodeSelector, so a TimeoutException can return 503 instead of 500.
  • Old Data Protection keys can now be deleted, though Microsoft still advises against it because anything protected by a deleted key is lost.

For teams that would rather not untangle an identity-provider regression alone, an ASP.NET Core development partner can fold the PAR check into the .NET 10 move.

.NET MAUI: the biggest Preview 7 drop

.NET Multi-platform App UI (.NET MAUI) got a large share of Preview 7. The .NET MAUI for .NET 9 notes confirm what shipped:

Feature What it gives you
HybridWebView new control Hosts HTML, JavaScript and CSS (for example an existing React app) inside a native MAUI app, with messaging between JavaScript and C#
TitleBar control Custom title bars for desktop apps on Windows and Mac Catalyst
New CollectionView and CarouselView handlers Opt-in handlers on iOS and Mac Catalyst for better performance and stability
ActivateWindow Brings a specific window to the front on Mac Catalyst and Windows
MainPage deprecated Set the first page through CreateWindow instead
Handler disconnection Control handlers disconnect from their controls automatically where possible
Xcode sync (xcsync) Edit Apple asset catalogs, plists and storyboards in Xcode and sync back from the CLI or Visual Studio Code; still marked preview

.NET MAUI 9 also lets you opt into Native AOT on iOS and Mac Catalyst. Microsoft says that typically produces app packages up to 2.5x smaller and startup up to 2x faster. The final release added compiled bindings in C# code and full trimming support, and raised the minimum targets to iOS 12.2 and Mac Catalyst 15.0.

New to the framework? The .NET MAUI beginner's guide builds a first app on .NET 10. For a larger cross-platform build, our .NET MAUI development team would start by checking which of these handlers and AOT settings your app can adopt today.

Other .NET 9 features beyond Preview 7

Some of what people search for as ".NET 9 features" landed in other previews or the final release. Microsoft's What's new in .NET 9 overview covers them.

EF Core 9 brought significant updates to the Azure Cosmos DB for NoSQL provider, plus first steps toward AOT compilation and precompiled queries. System.Text.Json now respects nullable reference type annotations, can export JSON schemas from types and lets you customize indentation. ASP.NET Core gained MapStaticAssets for optimized static files with automatic fingerprinted versioning, easier setup of a trusted development certificate on Linux, polymorphic types in SignalR hubs and InternalServerError in TypedResults.

On the desktop, WPF added the Windows Fluent theme, light and dark mode and hyphen-based ligatures, while Windows Forms gained experimental dark mode. F# 9 shipped with nullable reference types and partial active patterns that can return bool. It also prefers extension methods to intrinsic properties when arguments are provided, and supports C# collection expressions for F# lists and sets. Aspire 9 improved its dashboard and resource lifecycle management, and it works with both .NET 9 and .NET 8 apps. All of it carries forward into .NET 10.

Moving off .NET 9 before November 10, 2026

A short note on who can skip this. Teams on .NET Framework 4.x follow a separate lifecycle, and their real decision is whether to migrate at all. Teams already on .NET 10 have most of these features and should read the .NET 10 features guide instead. If a vendor ships the runtime inside its product, the vendor's support matrix sets your date, not Microsoft's calendar.

For everyone else on .NET 9 or .NET 8, this order of work holds up:

  1. Inventory what's actually running. Check target frameworks in project files, then the runtimes on servers and in container base images. Old build agents and shared hosting are where stray versions hide. .NET ships a new major version every 12 months, so keep the list current.
  2. Find BinaryFormatter and other breaking changes. It throws in .NET 9 and later, so search your code and third-party packages before production does it for you. Then work through Microsoft's breaking-change lists for .NET 9 and .NET 10.
  3. Retarget to .NET 10 and test. Microsoft's guidance is to set TargetFramework to net10.0 and update development and hosting environments. Visual Studio 2022 will mark the .NET 8 and .NET 9 components out of support in a future servicing update. Leave real test time for sign-in flows, serialization and anything compression-related.
  4. Plan for .NET 11 without waiting for it. .NET 11 Release Candidate 2 shipped on October 13, 2026 with a go-live license. Odd-numbered releases are STS, so .NET 11 gets two years of support rather than three, and .NET 10 LTS is the steadier landing spot for most enterprise apps. On Azure, schedule App Service or base-image changes in the same sprint so runtime and hosting move together.

Brainvire is a Microsoft Solutions Partner, and our Microsoft enterprise services team can start with step 1: a runtime inventory across your apps and hosts. Tell us what's still on .NET 8 or 9.

FAQ

Where are the .NET 9 release notes for JIT and Native AOT?

JIT changes are in Microsoft's "What's new in the .NET 9 runtime" page on learn.microsoft.com. Native AOT changes for ASP.NET Core are in "What's new in ASP.NET Core in .NET 9," and .NET MAUI has its own .NET 9 notes. The dotnet/core repository on GitHub keeps the per-preview release notes, including Preview 7.

Can I use Guid.CreateVersion7 on .NET 8?

Not as a built-in method. The API reference lists Guid.CreateVersion7 for .NET 9 and later, so it arrives when you retarget. Since .NET 8 also loses support on November 10, 2026, moving to .NET 10 gets you the method and a supported runtime at once.

Is .NET 10 faster than .NET 9?

Microsoft's .NET 10 runtime notes describe JIT work that builds on .NET 9, including wider stack allocation and array interface devirtualization. Whether your app gets faster depends on its code paths. Benchmark your own hot paths on both versions before you promise anyone a number.

ShareLinkedInXEmail

Related reading

Still on .NET 8 or 9? Get your .NET 10 upgrade planned

Plan my .NET 10 upgrade