.NET 10 Preview 7 Delivers ASP.NET Core, Blazor, and MAUI Enhancements, with C# 14 Feature Complete
Briefly

.NET 10 Preview 7 Delivers ASP.NET Core, Blazor, and MAUI Enhancements, with C# 14 Feature Complete
"Last week, Microsoft released .NET 10 Preview 7. This update brings a wide range of improvements across ASP.NET Core, C#, .NET MAUI, and Windows Forms, marking another step toward the final release. In ASP.NET Core, several notable changes have been introduced. A new configuration option now allows developers to suppress exception handler diagnostics. According to Microsoft, this feature provides flexibility when certain exceptions are already handled and should not be logged at the error level."
"Cookie authentication has been adjusted to better support APIs. Requests to known API endpoints that lack authentication now return 401 or 403 status codes instead of redirecting to login pages. This aligns with common API practices and can be overridden if needed. Passkey authentication also sees improvements, with new simplified APIs and broader support within Blazor Web App templates, making passwordless sign-in scenarios easier to implement."
Microsoft released .NET 10 Preview 7 with improvements across ASP.NET Core, C#, .NET MAUI, and Windows Forms. ASP.NET Core adds a configuration option to suppress exception handler diagnostics and changes the default so exceptions resolved by IExceptionHandler no longer produce diagnostics unless configured. Cookie authentication now returns 401/403 for known API endpoints lacking authentication instead of redirecting to login pages. Passkey authentication receives simplified APIs and wider Blazor Web App template support for passwordless sign-in. .localhost top-level domain support enables clearer local domain separation with Kestrel recognizing .localhost as loopback. System.Text.Json gains PipeReader support for performance. Blazor gets renamed components/APIs, OpenTelemetry-aligned metric names, build-time validation for WebAssembly services, OpenAPI.NET 2.0, corrected form-data metadata, and improved XML documentation merging.
Read at InfoQ
Unable to calculate read time
[
|
]