ASP.NET Core 11 Preview 1: Blazor, WebAssembly & Dev Experience Boost

Alps Wang

Alps Wang

Feb 27, 2026 · 1 views

Blazor Evolution and WebAssembly Parity

The .NET 11 Preview 1 release for ASP.NET Core signals a strong commitment to enhancing the Blazor ecosystem and closing the feature gap with Blazor Server, especially for WebAssembly applications. The introduction of EnvironmentBoundary is a particularly elegant solution for environment-specific rendering, abstracting away complex conditional logic and improving code maintainability. Similarly, the new Label and DisplayName components for Blazor forms address common accessibility and developer convenience pain points, making it easier to build robust and user-friendly forms. The OnRowClick event for QuickGrid and the relative URI navigation for NavigationManager and NavLink are also welcome additions that streamline common UI development tasks.

The move towards parity for Blazor WebAssembly, with features like IHostedService and access to environment variables via IConfiguration, is a crucial step in making Blazor WebAssembly a more viable option for a wider range of applications, including those requiring background processing or runtime configuration. The added component-specific metrics and tracing for WebAssembly will be invaluable for performance debugging and optimization in client-side applications. While this preview focuses heavily on Blazor, the mention of OpenAPI schema support for binary file responses and the IOutputCachePolicyProvider interface hint at broader improvements in API development and caching strategies, which are essential for modern web applications. The automatic trust of development certificates in WSL environments is a quality-of-life improvement that many developers working with cross-platform setups will appreciate. Overall, this preview lays a strong foundation for the .NET 11 release, prioritizing developer productivity, Blazor's growth, and WebAssembly's capabilities.

Key Points

  • New EnvironmentBoundary component for Blazor to conditionally render content based on hosting environment.
  • Enhanced Blazor forms with Label (accessible labels, metadata display names) and DisplayName (similar to MVC's @Html.DisplayNameFor()) components.
  • QuickGrid now supports OnRowClick event for direct row interaction handling.
  • Blazor navigation improvements: NavigateTo() and NavLink support relative URI navigation via RelativeToCurrentUri parameter.
  • Blazor WebAssembly gains feature parity with Blazor Server by supporting IHostedService and access to environment variables via IConfiguration.
  • Added component-specific metrics and tracing for Blazor WebAssembly.
  • Other improvements include MathML namespace support, InvokeVoidAsync() analyzer, IComponentPropertyActivator, SignalR ConfigureConnection support, unified startup options, OpenAPI schema for binary responses, IOutputCachePolicyProvider, and container support in Blazor Web App template.

Article Image


📖 Source: ASP.NET Core in .NET 11 Preview 1 Brings New Blazor Components, Improved Navigation, and WebAssembly

Related Articles

Comments (0)

No comments yet. Be the first to comment!