Today, Microsoft released the first preview version of. NET 10. As a. NET developer, I downloaded and tested it immediately. Let's take a look at what updates this version brings and my actual testing.
1... NET 10 Preview 1 Major Updates
Microsoft brings several enhancements to the. NET ecosystem in this release:
1. Runtime and basic library improvements
- Added multiple string processing and time-related APIs
- ZipArchive performance and memory usage optimization
- Support AVX10.2
- Array interface method de-virtualization
2. C#language features
- Nameof support in unbound generics
- implicit span transformation
- Properties supported by fields
- lambda parameter modifier support
- Experimental feature: String literals in data segments
3. ASP.NET Core and Blazor
- OpenAPI 3.1 support
- OpenAPI document generation in YAML format
- Blazor routing attribute syntax highlighting
- QuickGrid component enhancements
4. .NET MAUI
- CollectionView enhancements for iOS and Mac Catalyst
- Android 16 (Baklava) Beta 1 support
- JDK-21 build support
2. Personal testing
I conducted upgrade tests on the following projects as soon as possible:
- **Avalonia UI Project **
- Functional tests all passed
- AOT release test successful
- Performance is normal
参考项目:CodeWF.Toolbox
- ** Blog website **
- Local debugging is working normally
- Docker deployment has encountered a temporary problem and requires further debugging
参考项目:CodeWF
3. How to start using
If you also want to try. NET 10 Preview 1:
- 下载并安装 .NET 10 SDK
- 如果使用 Visual Studio,建议安装最新的 Visual Studio 2022 预览版,如需离线安装可参考 VS离线安装包制作 教程
- VS Code users can install the C#Dev Kit extension
更多详细信息可以查看官方博客公告。
In the future, I will continue to pay attention to the development progress of. NET 10 and share more practical experience.