.NET 10 Preview 1 Released

.NET 10 Preview 1 Released

Today .NET 10 Preview 1 was released. I downloaded it immediately, upgraded the Avalonia UI project and blog website. The former passed functional testing and AOT publishing successfully, the latter debugging went fine, but Docker has not been successful yet.

Last updated 2/25/2025 6:21 AM
沙漠尽头的狼
2 min read
Category
Sharing .NET
Tags
.NET C# Avalonia UI Docker AOT

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

  • nameof support 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:

  1. Avalonia UI project
    • All functional tests passed
    • AOT publish test successful
    • Performance is normal

Reference project: CodeWF.Toolbox

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

  1. Download and install the .NET 10 SDK
  2. 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
  3. 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.

Keep Exploring

Related Reading

More Articles