Today, Microsoft released the first preview of .NET 10. As a .NET developer, I downloaded and tested it right away. Let's take a look at what this version brings and my actual test results.
1. .NET 10 Preview 1 Major Updates
Microsoft has brought enhancements to the .NET ecosystem in several areas in this release:
1. Runtime and Base Library Improvements
- Added multiple new APIs for string processing and time-related operations
- Performance and memory usage optimization for ZipArchive
- Support for AVX10.2
- Devirtualization of array interface methods
2. C# Language Features
nameofsupport in unbound generics- Implicit span conversions
- Field-backed properties
- Lambda parameter modifiers support
- Experimental feature: string literals in data sections
3. ASP.NET Core and Blazor
- OpenAPI 3.1 support
- OpenAPI document generation in YAML format
- Syntax highlighting for Blazor route attributes
- QuickGrid component enhancements
4. .NET MAUI
- CollectionView enhancements for iOS and Mac Catalyst
- Android 16 (Baklava) Beta 1 support
- JDK-21 build support
2. My Testing Experience
I immediately performed upgrade tests on the following projects:
- Avalonia UI project
- All functional tests passed
- AOT publish test successful
- Performance is normal
Reference project: CodeWF.Toolbox
- Blog website
- Local debugging runs normally
- Docker deployment encountered issues temporarily, further debugging needed
Reference project: CodeWF
3. How to Get Started
If you also want to try .NET 10 Preview 1:
- Download and install the .NET 10 SDK
- If using Visual Studio, we recommend installing the latest Visual Studio 2022 Preview; for offline installation, refer to the tutorial on Creating an offline installation of Visual Studio
- VS Code users can install the C# Dev Kit extension
For more details, see the official blog announcement.
I will continue to follow the development progress of .NET 10 and share more practical experiences.