NET 10 Preview 1 released

NET 10 Preview 1 released

Today. NET 10 Preview 1 was released. I downloaded it as soon as possible and upgraded the Avalonia UI project and blog site. The former's functional testing and AOT release were normal, the latter's debugging was normal, and Docker was not successful for the time being.

最后更新 2/25/2025 6:21 AM
沙漠尽头的狼
预计阅读 2 分钟
分类
share .NET
标签
.NET C# Avalonia UI Docker AOT

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:

  1. **Avalonia UI Project **
    • Functional tests all passed
    • AOT release test successful
    • Performance is normal

参考项目:CodeWF.Toolbox

  1. ** 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:

  1. 下载并安装 .NET 10 SDK
  2. 如果使用 Visual Studio,建议安装最新的 Visual Studio 2022 预览版,如需离线安装可参考 VS离线安装包制作 教程
  3. 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.

Keep Exploring

延伸阅读

更多文章
同分类 / 同标签 2/7/2026

Summary of experience in using AOT

From the very beginning of project creation, you should develop a good habit of conducting AOT release testing in a timely manner whenever new features are added or newer syntax is used.

继续阅读