Blazor WebAssembly
The primary Blazor hosting model is running client-side within the browser on WebAssembly. Blazor application is dependencies, and the .NET runtime is downloaded to the browser. The application runs directly on the browser UI thread. Updates the UI and event handling happen within the same process. The application is assets are deployed as static files on an internet server or service capable of serving static content to the client.

Figure: Blazor WebAssembly application
When a Blazor WebAssembly application is created for deployment without a backend ASP.NET Core application to provide its files, the application is called a standalone Blazer WebAssembly application. When an app is created for deployment with a backend app to provide its files, the app is called a hosted Blazer WebAssembly application. The hosted Blazer application client application typically interacts with a backend server application on the network using Web API calls or SignalR.
Blazor.Webaswebel.JS script framework and handles provided by:
-
Download .NET runtime, application, and application dependencies.
-
Start runtime to run the application.
The Blazor WebAssembly hosting model offers several advantages:
-
There are no .NET server-side dependencies. Once the application is downloaded to the client it is fully functional.
-
Client resources and capabilities are absolutely leverage.
-
The work server is offloaded to the client.
-
ASP.NET core web server isn't needed to host the application. Serverless deployment scenarios are possible, like serving an application from a Content Delivery Network (CDN).
The Blazer WebAssembly Hosting model has the following limitations:
-
The Blazer WebAssembly Hosting model has the following limitations:
-
Requires enabled client hardware and software (for example, web-based support).
-
The download size is large and apps take longer to load.
-
.NET runtime and tooling support are less mature as an example, there are limitations in .NET standard support and debugging.
To create a Blazor WebAssembly application, see tooling for ASP.NET Core Blazor.
The Hosted Blazor app supports docker containers. Docker Support in Visual Studio, right-click on the project of the hosted Blazor WebAssembly solution and select Add> Docker Support.