.NET 10 Preview 5: What's New for Developers

Microsoft recently released .NET 10 Preview 5 with updates for ASP.NET Core, .NET MAUI, WPF, and Entity Framework Core. This preview brings new features like improved observability, customization options, and developer productivity enhancements.

Jun 28, 2025 - 16:52
 0  0
.NET 10 Preview 5: What's New for Developers

Earlier this month, Microsoft announced the release of .NET 10 Preview 5, delivering updates across multiple components, including ASP.NET Core, .NET MAUI, Windows Presentation Foundation (WPF), and Entity Framework Core. This preview introduces new features and improvements aimed at enhancing developer productivity, application observability, and customization.

Regarding ASP.NET Core, a new capability allows developers to configure custom security descriptors for HTTP.sys request queues via the RequestQueueSecurityDescriptor property in HttpSysOptions. This feature offers better control over access to request queues at the OS level.

Validation resolver APIs supporting Minimal APIs have been marked as experimental to allow future modifications, though the top-level AddValidation APIs remain stable.

OpenAPI generation has been improved with support for version 3.1. The release also extends metadata extraction from XML documentation, recognizing and tags for response descriptions.

Furthermore, the Blazor framework introduces a method for easier rendering of Not Found pages by specifying a NotFoundPage component in the router configuration. This approach is prioritized over the older NotFound fragment and is now included in default project templates.

Notable addition in the Preview 5 is the introduction of detailed metrics and tracing capabilities for Blazor apps. Metrics are published via dedicated meters for components, lifecycle events, and server circuits. Tracing uses a new Microsoft.AspNetCore.Components activity source that includes detailed instrumentation for navigation, event handling, and circuit lifecycles.

In .NET MAUI, support has been added for XAML Global and Implicit Namespaces. These features simplify markup by allowing developers to use controls without specifying multiple xmlns declarations. A new global namespace can include custom views, converters, and third-party libraries, enabling cleaner and more maintainable XAML.

Implicit namespaces can be activated through project properties, reducing the need for verbose declarations. However, Microsoft notes that tooling errors may occur while this feature remains in preview.

Another notable addition to .NET MAUI is the ability to intercept web requests in HybridWebView. This is now possible by handling the WebResourceRequested event, enabling scenarios such as injecting custom headers or serving local resources.

The update for .NET for Android and Apple platforms primarily focuses on quality and stability improvements. WPF introduces a shorthand syntax for Grid.RowDefinitions and Grid.ColumnDefinitions, making XAML more concise and improving Hot Reload support. Font and globalization enhancements include the addition of the simsun-extg font to improve rendering in East Asian languages. The Fluent theme has been refined, addressing crashes and improving styling for RTL layouts. Performance gains were achieved by reducing memory allocations and removing unused code paths.

Lastly, Entity Framework Core 10 Preview 5 brings the ability to define custom names for default constraints, providing more control over database schema generation. Developers can now assign constraint names directly in model configuration or enable automatic naming for all default constraints using UseNamedDefaultConstraints.

For interested readers, full release notes with all updates, fixes, and known issues are available through Microsoft’s official documentation and GitHub repositories.

According to the source: infoq.com.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Angry Angry 0
Sad Sad 0
Wow Wow 0