Guest .NET Team Posted August 15, 2024 Posted August 15, 2024 It’s a great time to check out the latest .NET 9 Preview! We just shipped our seventh preview release, adding to some major enhancements across the .NET Runtime, SDK, libraries, C#, ASP.NET Core, Blazor, and .NET MAUI. Check out the full release notes linked below and get started today. Download .NET 9 Preview 7 This release contains the following improvements. [HEADING=1][ATTACH type=full" alt="📚]5904[/ATTACH]Libraries[/HEADING] Removal of [iCODE]BinaryFormatter[/iCODE] is complete Enumerate over [iCODE]ReadOnlySpan<char>.Split()[/iCODE] segments [iCODE]Debug.Assert[/iCODE] now reports assert condition, by default. Compression APIs now use [iCODE]zlib-ng[/iCODE] [iCODE]Guid.CreateVersion7[/iCODE] enables creating GUIDs with a natural sort order [iCODE]Interlocked.CompareExchange[/iCODE] for more types AES-GCM and ChaChaPoly1305 algorithms enabled for iOS/tvOS/MacCatalyst Changes to X.509 Certificate Loading Support for XPS documents from XPS virtual printer Marking [iCODE]Tensor<T>[/iCODE] as [iCODE]Experimental[/iCODE] Full release notes [HEADING=1][ATTACH type=full" alt="⏱]5905[/ATTACH]Runtime[/HEADING] ARM64 SVE Support Post-Indexed Addressing on ARM64 Strength Reduction in Loops Object Stack Allocation for Boxes GC Dynamic Adaptation To Application Sizes Full release notes [HEADING=1]C#[/HEADING] Prioritize better overloads with [iCODE]OverloadResolutionPriority[/iCODE] attribute Full release notes [HEADING=1][ATTACH type=full" alt="🛠]5906[/ATTACH] SDK[/HEADING] Container publishing improvements for insecure registries More consistent environment variables for container publishing Introduction of Workload Sets for more control over workloads Mitigating analyzer mismatch issues aka ‘torn SDK’ Full release notes [HEADING=1][ATTACH type=full" alt="🌐]5907[/ATTACH] ASP.NET Core[/HEADING] SignalR supports trimming and Native AOT Microsoft.AspNetCore.OpenApi supports trimming and Native AOT Improvements to transformer registration APIs in Microsoft.AspNetCore.OpenApi Call [iCODE]ProducesProblem[/iCODE] and [iCODE]ProducesValidationProblem[/iCODE] on route groups Construct [iCODE]Problem[/iCODE] and [iCODE]ValidationProblem[/iCODE] result types with [iCODE]IEnumerable<KeyValuePair<string, object?>>[/iCODE] values [iCODE]OpenIdConnectHandler[/iCODE] support for Pushed Authorization Requests (PAR) Data Protection support for deleting keys Customize Kestrel named pipe endpoints Improved Kestrel connection metrics Opt-out of HTTP metrics on certain endpoints and requests [iCODE]ExceptionHandlerMiddleware[/iCODE] option to choose the status code based on the exception Full release notes [HEADING=1][ATTACH type=full" alt="📱]5908[/ATTACH] .NET MAUI[/HEADING] Introduction of [iCODE]HybridWebview[/iCODE] New [iCODE]TitleBar[/iCODE] Control and [iCODE]Window.TitleBar[/iCODE] for Windows [iCODE]CollectionView[/iCODE] & [iCODE]CarouselView[/iCODE] improvements with a new opt-in handler for iOS and Mac Catalyst Ability to bring a [iCODE]Window[/iCODE] to the foregrond with [iCODE]ActivateWindow[/iCODE] [iCODE]BackButtonBehavior[/iCODE] [iCODE]OneWay[/iCODE] binding mode [iCODE]BlazorWebView[/iCODE] backward compatibility host address Native Embedding improvements [iCODE]MainPage[/iCODE] is Obsolete New Handler Disconnect Policy New [iCODE]ProcessTerminated[/iCODE] event on [iCODE]WebView[/iCODE] Control New lifecycle methods for remote notifications on iOS & Mac Catalyst Xcode Sync for CLI and Visual Studio Code Full release notes [HEADING=1][ATTACH type=full" alt="🚀]5909[/ATTACH] Get started[/HEADING] 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. .NET 9 can now be installed directly through the Visual Studio installer starting with Visual Studio 2022 17.12 Preview 1. You can also use Visual Studio Code and the C# Dev Kit extension with .NET 9. [HEADING=1][ATTACH type=full" alt="📢]5910[/ATTACH] Team Announcements & Discussions[/HEADING] 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. .NET MAUI ASP.NET Core Libraries & Runtime Source-build [HEADING=1][ATTACH type=full" alt="🔔]5911[/ATTACH] Stay up-to-date with .NET 9[/HEADING] You can stay up-to-date with all the features of .NET 9 with: What’s new in .NET 9 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 7 GitHub Discussion to discuss features and give feedback for this release. The post .NET 9 Preview 7 is now available! appeared first on .NET Blog. Continue reading... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.