diff --git a/aspnetcore/blazor/hosting-models.md b/aspnetcore/blazor/hosting-models.md index e60b784d3b..0b84aa85dd 100644 --- a/aspnetcore/blazor/hosting-models.md +++ b/aspnetcore/blazor/hosting-models.md @@ -50,8 +50,18 @@ In a traditional server-rendered app, opening the same app in multiple browser s ![The browser interacts with Blazor (hosted inside of an ASP.NET Core app) on the server over a SignalR connection.](~/blazor/hosting-models/_static/blazor-server.png) +:::moniker range=">= aspnetcore-10.0" + +On the client, the Blazor script establishes the SignalR connection with the server. The script is served as a static web asset with automatic compression and [fingerprinting](https://developer.mozilla.org/docs/Glossary/Fingerprinting). + +:::moniker-end + +:::moniker range="< aspnetcore-10.0" + On the client, the Blazor script establishes the SignalR connection with the server. The script is served from an embedded resource in the ASP.NET Core shared framework. +:::moniker-end + The Blazor Server hosting model offers several benefits: * Download size is significantly smaller than when the Blazor WebAssembly hosting model is used, and the app loads much faster. diff --git a/aspnetcore/blazor/project-structure.md b/aspnetcore/blazor/project-structure.md index da1602300b..2ab4aa1b7e 100644 --- a/aspnetcore/blazor/project-structure.md +++ b/aspnetcore/blazor/project-structure.md @@ -536,8 +536,18 @@ The project structure of the client-side app in a hosted Blazor Webassembly solu ## Location of the Blazor script +:::moniker range=">= aspnetcore-10.0" + +The Blazor script is served as a static web asset with automatic compression and fingerprinting. For more information, see . + +:::moniker-end + +:::moniker range="< aspnetcore-10.0" + The Blazor script is served from an embedded resource in the ASP.NET Core shared framework. +:::moniker-end + :::moniker range=">= aspnetcore-8.0" In a Blazor Web App, the Blazor script is located in the `Components/App.razor` file: