The final preview release of .NET 8 has been released, and from now on the .NET team will shift to release candidates. The developers say that almost all new features for the release are in their final shape, and that System.Text.Json and codegen have the biggest changes in this build.
ASP.NET Core has also been improved with new token antiforgery middleware with API and Blazor support, identity API updates and native AOT improvements, while .NET MAUI has better UI Control functionality. Visual Studio 2022 17.7 has been released alongside this .NET preview, and includes a number of features for .NET developers including auto-decompilation for External .NET Code and new Auto Insights for the CPU Usage Tool.
.NET was created from a combination of .NET Framework and .NET Core. NET 8 is a long-term support (LTS) release and will be supported for three years after initial release.
[画像:net2]
The changes to ASP.NET Core are mainly related to Blazor, so that Blazor endpoints now require antiforgery protection by default. To enable antiforgery support, there's new antiforgery middleware, and the EditForm component will add the antiforgery token automatically for you.
Other Blazor improvements include an Auto render mode for Blazor web apps that the developers say combines the strengths of the Server and WebAssembly render modes into a single dynamic option.
System.text.Json has been improved in this release. It can be used to serialize to and deserialize from JavaScript Object Notation (JSON). There's now feature parity with the JsonSerializerOptions class, which makes it possible to specify serialization configuration at compile time.
The serializer now has built-in support for Memory<T> and ReadOnlyMemory<T> values, with semantics being equivalent to arrays; and the JsonIncludeAttribute and JsonConstructorAttribute have been extended to non-public members.
.NET 8 Preview 7 is available for download now.
[画像:net2]
More Information
Related Articles
.NET 8 Preview 3 Improves ASP.NET Core
.NET Celebrates 20th Anniversary of Launch
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Microsoft Announces GitHub Copilot App For Java And .NET
27/10/2025
GitHub Copilot has been updated with app modernization features for Java and .NET applications. The news was announced by Microsoft at last month's Migrate and Modernize Summit, alongside new ag [ ... ]
.NET 10, C# 14 and F# 10 Released Alongside Visual Studio 2026
13/11/2025
Microsoft has shipped .NET 10, the platform created from a combination of .NET Framework and .NET Core, including C# 14 and F# 10. Visual Studio 2026 has also been released at .NET Conf, the onli [ ... ]
- DH2i Launches DxEnterprise For SQL Server 2025
- Join The Protest Against The Closing Of Android
- Google Tunix Hack Hackathon Now Open
- Julia 1.12 Adds Trim Feature
- AI Champion Ship Now Open
- XAML.io 0.5 Adds Multi-File Project Editing
- Mico - A Personality For Copilot
- OpenCode - The Claude Code Alternative
- Robot Army Video As Robots Shipped En Masse
- Scouting America Launches AI And Cybersecurity Badges
- Exploring The Microsoft Agent Framework
- The Fuss About Fil-C...
- Insectile Garments For Dutch Design Week
Comments
or email your comment to: comments@i-programmer.info