.NET 11 Preview 1のASP.NET Coreが新Blazorコンポーネント、ナビゲーション改善、WebAssemblyを導入
Microsoftが.NET 11 Preview 1でASP.NET Coreをリリース。新Blazorコンポーネントや相対URIナビゲーション、WebAssembly対応など開発機能を強化。
キーポイント
ASP.NET Core .NET 11 Preview 1で新Blazorコンポーネント(EnvironmentBoundary、Label、DisplayName)が追加
Blazor WebAssemblyでIHostedServiceと環境変数アクセスがサポートされ、Blazor Serverとの機能パリティ向上
ナビゲーション改善(相対URIナビゲーション、GetUriWithHash()拡張メソッド、BasePathコンポーネント)
影響分析・編集コメントを表示
影響分析
このリリースはBlazor開発者の生産性向上に焦点を当てており、環境依存のレンダリングやフォームアクセシビリティ、WebAssemblyでのバックグラウンド処理など、実用的な機能強化が多数含まれています。特にBlazor WebAssemblyの機能拡充は、ブラウザ上でのより複雑なアプリケーション構築を可能にし、WebAssembly活用の幅を広げる可能性があります。
編集コメント
Blazorの成熟度が増し、実務で使いやすい機能が追加された点が評価できる。特にWebAssemblyでのバックグラウンドサービス対応は、よりリッチなクライアントサイドアプリケーション開発を後押しする。
ASP.NET Core in .NET 11 Preview 1 が新しいBlazorコンポーネント、改良されたナビゲーション、WebAssemblyを提供
InfoQ ホームページ ニュース ASP.NET Core in .NET 11 Preview 1 が新しいBlazorコンポーネント、改良されたナビゲーション、WebAssemblyを提供
ASP.NET Core in .NET 11 Preview 1 が新しいBlazorコンポーネント、改良されたナビゲーション、WebAssemblyを提供
2026年2月26日 読了時間 2分
InfoQに寄稿する
この記事を聴く - 0:00 再生準備完了 お使いのブラウザはオーディオ要素をサポートしていません。 0:00 0:00 標準1.25倍速1.5倍速 読み上げリスト
マイクロソフトは、.NET 11におけるASP.NET Coreの最初のプレビューをリリースし、Blazor、OpenAPI、および一般的なWeb開発ワークフロー全体での開発者エクスペリエンスを向上させることを目的とした、さまざまな新機能と改良を導入しました。
最も注目すべき追加事項の一つは、Blazor用の新しいEnvironmentBoundaryコンポーネントです。これにより、開発者はホスティング環境に基づいてコンテンツを条件付きでレンダリングできます。このコンポーネントはIncludeおよびExcludeパラメータを受け入れ、Blazor ServerとBlazor WebAssemblyの両方で一貫して動作し、説明によれば、手動での環境チェックの必要性を排除します。
このリリースは、Blazorフォームにもいくつかの改良をもたらします。新しいLabelコンポーネントは、メタデータ属性からの表示名の自動抽出を伴うアクセシブルなラベルをレンダリングするようになりました。これは、ネストされたラベル-入力関連付けパターンと非ネストのパターンの両方をサポートします。それと並行して、新しいDisplayNameコンポーネントは、MVCの@Html.DisplayNameFor()ヘルパーと同様の機能を提供し、ローカライゼーションサポートを伴う属性からのプロパティ名の表示を容易にします。
QuickGridコンポーネントにはOnRowClickイベントパラメータが追加され、開発者が行クリックのインタラクションを直接処理できるようになりました。設定すると、グリッドは自動的にポインターカーソルのスタイルを適用し、クリックされたアイテムを伴うコールバックを呼び出します。
さらに、Blazorのナビゲーションにも注目が集まっています。NavigationManager.NavigateTo()メソッドとNavLinkコンポーネントは、新しいRelativeToCurrentUriパラメータを介して相対URIナビゲーションをサポートするようになりました。これにより、アプリケーションのベースURIではなく、現在のページパスを基準としたナビゲーションが可能になり、ネストされたフォルダ構造に特に有用です。
加えて、新しいGetUriWithHash()拡張メソッドは、述べられているように、URIにハッシュフラグメントを追加するためのゼロアロケーションの方法を提供し、新しいBasePathコンポーネントは、HTMLでベースhref要素を手動で指定する必要性を置き換えます。
WebAssembly側では、Blazor WebAssemblyがブラウザ内でバックグラウンドサービスを実行するためのIHostedServiceをサポートするようになり、Blazor Serverとの機能パリティをもたらします。また、フレームワークはIConfigurationを介した環境変数へのアクセスを可能にし、アプリケーションをリビルドすることなくランタイム構成を可能にします。WebAssemblyアプリ向けに、コンポーネント固有のメトリクスとトレーシングも追加されました。
このリリースのその他の変更点には、インタラクティブレンダリングのためのMathML名前空間サポート、新しいInvokeVoidAsync()アナライザー、コンポーネント上の依存性注入をカスタマイズするためのIComponentPropertyActivatorインターフェース、Interactive ServerコンポーネントのためのSignalR ConfigureConnectionサポート、Blazorスクリプトの統一されたスタートアップオプションフォーマットが含まれます。
また、その他の変更点として、バイナリファイルレスポンスのためのOpenAPIスキーマサポート、IOutputCachePolicyProviderインターフェース、Blazor Web Appテンプレートでのコンテナサポート、WSL環境での開発証明書の自動信頼があります。
関心のある読者のために、完全なリリースノートは公式のASP.NET Coreドキュメントで入手可能であり、プロジェクトのロードマップはGitHubで見つけることができます。
著者について
この記事を評価する
このコンテンツは .NET トピックに属しています
関連トピック:
関連エディトリアル
関連スポンサー
関連スポンサー
2026年3月5日 午前11時(EST) Apache Airflowを使用した本番環境対応AIワークフローのオーケストレーション
主催: Tamara Fingerlin - Astronomerシニアデベロッパーアドボケート、および Pranav Bahadur - Astronomerプロダクトマーケティングマネージャー
InfoQニュースレター
毎週火曜日配信、InfoQで公開された前週のコンテンツのまとめ。25万人以上のシニア開発者のコミュニティに参加しましょう。 例を見る
私たちはあなたのプライバシーを保護します。
原文を表示
InfoQ Homepage News ASP.NET Core in .NET 11 Preview 1 Brings New Blazor Components, Improved Navigation, and WebAssembly
ASP.NET Core in .NET 11 Preview 1 Brings New Blazor Components, Improved Navigation, and WebAssembly
Feb 26, 2026 2 min read
Write for InfoQ
Listen to this article - 0:00 Audio ready to play Your browser does not support the audio element. 0:00 0:00 Normal1.25x1.5x Like Reading list
Microsoft has released the first preview of ASP.NET Core in .NET 11, introducing a range of new features and improvements aimed at enhancing the developer experience across Blazor, OpenAPI, and general web development workflows.
Among the most notable additions is the new EnvironmentBoundary component for Blazor, which allows developers to conditionally render content based on the hosting environment. The component accepts Include and Exclude parameters and works consistently across both Blazor Server and Blazor WebAssembly, removing, as explained, the need for manual environment checks.
The release also brings several improvements to Blazor forms. A new Label component now renders accessible labels with automatic extraction of display names from metadata attributes. It supports both nested and non-nested label-input association patterns. Alongside it, a new DisplayName component provides functionality similar to MVC's @Html.DisplayNameFor() helper, making it easier to display property names from attributes with localization support.
The QuickGrid component has gained an OnRowClick event parameter, enabling developers to handle row click interactions directly. When configured, the grid automatically applies pointer cursor styling and invokes a callback with the clicked item.
Furthermore, navigation in Blazor has also received attention. The NavigationManager.NavigateTo() method and the NavLink component now support relative URI navigation through a new RelativeToCurrentUri parameter. This allows navigation relative to the current page path rather than the application's base URI, which is particularly useful for nested folder structures.
Additionally, a new GetUriWithHash() extension method, as stated, offers a zero-allocation way to append hash fragments to URIs, and a new BasePath component replaces the need for manually specifying base href elements in HTML.
On the WebAssembly side, Blazor WebAssembly now supports IHostedService for running background services in the browser, bringing feature parity with Blazor Server. The framework also now allows access to environment variables through IConfiguration, enabling runtime configuration without rebuilding the application. Component-specific metrics and tracing have also been added for WebAssembly apps.
Other changes in this release include MathML namespace support for interactive rendering, a new InvokeVoidAsync() analyzer, the IComponentPropertyActivator interface for customizing dependency injection on components, SignalR ConfigureConnection support for Interactive Server components, a unified startup options format for Blazor scripts.
Also, other changes are OpenAPI schema support for binary file responses, the IOutputCachePolicyProvider interface, container support in the Blazor Web App template, and automatic trust of development certificates in WSL environments.
For interested readers, the full release notes are available on the official ASP.NET Core documentation, and the project roadmap can be found on GitHub.
About the Author
Rate this Article
This content is in the .NET topic
Related Topics:
Related Editorial
Related Sponsors
Related Sponsor
March 5th, 2026, 11 AM EST Orchestrating Production-Ready AI Workflows with Apache Airflow
Presented by: Tamara Fingerlin - Senior Developer Advocate at Astronomer, and Pranav Bahadur - Product Marketing Manager at Astronomer
The InfoQ Newsletter
A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example
We protect your privacy.
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み