Microsoft.AspNetCore.Components.WebAssembly.Server 10.0.0-preview.7.25380.108

About

Microsoft.AspNetCore.Components.WebAssembly.Server provides runtime server features for ASP.NET Core Blazor applications that have a client running under WebAssembly.

Key Features

  • Provides the ability to statically render components that utilize WebAssembly interactivity
  • Enables debugging functionality for code running in WebAssembly
  • Allows serialization and transmission of server-side authentication state for use during WebAssembly interactivity

How to Use

To use Microsoft.AspNetCore.Components.WebAssembly.Server, follow these steps:

Installation

dotnet add package Microsoft.AspNetCore.Components.WebAssembly.Server

Configuration

To enable WebAssembly interactivity in a Blazor Web app, configure it in your app's Program.cs:

builder.Services.AddRazorComponents()
    .AddInteractiveWebAssemblyComponents();

var app = builder.Build();

if (app.Environment.IsDevelopment())
{
    app.UseWebAssemblyDebugging();
}

app.UseAntiforgery();
app.MapStaticAssets();
app.MapRazorComponents<App>()
    .AddInteractiveWebAssemblyRenderMode()
    .AddAdditionalAssemblies(typeof(BlazorWebApp.Client._Imports).Assembly);

Make sure to update the call to AddAdditionalAssemblies with any client assemblies that should be included in the Blazor application.

Main Types

The main types provided by this package are:

  • WebAssemblyComponentsEndpointOptions: Provides options for configuring interactive WebAssembly components
  • AuthenticationStateSerializationOptions: Provides options for configuring the JSON serialization of the AuthenticationState to the WebAssembly client

Additional Documentation

For additional documentation and examples, refer to the official documentation on Blazor.

Feedback & Contributing

Microsoft.AspNetCore.Components.WebAssembly.Server is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

No packages depend on Microsoft.AspNetCore.Components.WebAssembly.Server.

.NET 10.0

Version Downloads Last updated
10.0.0-rc.2.25502.107 0 10/14/2025
10.0.0-rc.1.25451.107 5 9/12/2025
10.0.0-preview.7.25380.108 3 9/8/2025
10.0.0-preview.6.25358.103 3 9/8/2025
10.0.0-preview.5.25277.114 4 9/8/2025
10.0.0-preview.4.25258.110 4 9/8/2025
10.0.0-preview.3.25172.1 4 9/8/2025
10.0.0-preview.2.25164.1 4 9/7/2025
10.0.0-preview.1.25120.3 4 9/8/2025
9.0.10 0 10/14/2025
9.0.9 5 9/12/2025
9.0.8 4 9/7/2025
9.0.7 3 9/8/2025
9.0.6 3 9/11/2025
9.0.5 2 9/10/2025
9.0.4 3 9/8/2025
9.0.3 4 9/7/2025
9.0.2 3 9/8/2025
9.0.1 4 9/9/2025
9.0.0 3 9/11/2025
9.0.0-rc.2.24474.3 3 9/7/2025
9.0.0-rc.1.24452.1 3 9/8/2025
9.0.0-preview.7.24406.2 4 9/7/2025
9.0.0-preview.6.24328.4 4 9/8/2025
9.0.0-preview.5.24306.11 4 9/8/2025
9.0.0-preview.4.24267.6 4 9/7/2025
9.0.0-preview.3.24172.13 4 9/7/2025
9.0.0-preview.2.24128.4 3 9/8/2025
9.0.0-preview.1.24081.5 3 9/7/2025
8.0.21 0 10/14/2025
8.0.20 5 9/12/2025
8.0.19 3 9/8/2025
8.0.18 3 9/11/2025
8.0.17 4 9/8/2025
8.0.16 3 9/8/2025
8.0.15 4 9/8/2025
8.0.14 5 9/9/2025
8.0.13 4 9/8/2025
8.0.12 3 9/8/2025
8.0.11 4 9/7/2025
8.0.10 4 9/7/2025
8.0.8 3 9/8/2025
8.0.7 4 9/10/2025
8.0.6 4 9/8/2025
8.0.5 3 9/8/2025
8.0.4 3 9/10/2025
8.0.3 4 9/8/2025
8.0.2 4 9/8/2025
8.0.1 4 9/7/2025
8.0.0 3 9/8/2025
8.0.0-rc.2.23480.2 2 9/8/2025
8.0.0-rc.1.23421.29 1 10/2/2025
8.0.0-preview.7.23375.9 3 9/8/2025
8.0.0-preview.6.23329.11 4 9/7/2025
8.0.0-preview.5.23302.2 3 9/8/2025
8.0.0-preview.4.23260.4 5 9/7/2025
8.0.0-preview.3.23177.8 4 9/7/2025
8.0.0-preview.2.23153.2 4 9/8/2025
8.0.0-preview.1.23112.2 3 9/10/2025
7.0.20 4 9/8/2025
7.0.19 4 9/8/2025
7.0.18 3 9/8/2025
7.0.17 2 10/2/2025
7.0.16 3 9/10/2025
7.0.15 4 9/8/2025
7.0.14 5 9/8/2025
7.0.13 4 9/7/2025
7.0.12 1 10/2/2025
7.0.11 3 9/8/2025
7.0.10 5 9/8/2025
7.0.9 3 9/8/2025
7.0.8 3 9/10/2025
7.0.7 4 9/8/2025
7.0.5 3 9/8/2025
7.0.4 3 9/8/2025
7.0.3 4 9/8/2025
7.0.2 4 9/7/2025
7.0.1 3 9/8/2025
7.0.0 3 9/8/2025
7.0.0-rc.2.22476.2 3 9/8/2025
7.0.0-rc.1.22427.2 4 9/11/2025
7.0.0-preview.7.22376.6 3 9/7/2025
7.0.0-preview.6.22330.3 3 9/8/2025
7.0.0-preview.5.22303.8 4 9/7/2025
7.0.0-preview.4.22251.1 3 9/7/2025
7.0.0-preview.3.22178.4 2 9/8/2025
7.0.0-preview.2.22153.2 4 9/7/2025
7.0.0-preview.1.22109.13 2 9/8/2025
6.0.36 4 9/8/2025
6.0.35 3 9/8/2025
6.0.33 3 9/8/2025
6.0.32 2 9/10/2025
6.0.31 5 9/8/2025
6.0.30 4 9/8/2025
6.0.29 2 9/8/2025
6.0.28 4 9/10/2025
6.0.27 4 9/7/2025
6.0.26 3 9/10/2025
6.0.25 5 9/9/2025
6.0.24 3 9/8/2025
6.0.23 3 9/8/2025
6.0.22 2 9/10/2025
6.0.21 3 9/8/2025
6.0.20 4 9/8/2025
6.0.19 3 9/8/2025
6.0.18 4 9/10/2025
6.0.16 4 9/9/2025
6.0.15 4 9/8/2025
6.0.14 3 9/8/2025
6.0.13 4 9/7/2025
6.0.12 3 9/8/2025
6.0.11 3 9/7/2025
6.0.10 3 9/8/2025
6.0.9 3 9/10/2025
6.0.8 4 9/10/2025
6.0.7 6 9/7/2025
6.0.6 3 9/10/2025
6.0.5 3 9/8/2025
6.0.4 4 9/11/2025
6.0.3 4 9/8/2025
6.0.2 4 9/8/2025
6.0.1 4 9/8/2025
6.0.0 5 9/8/2025
6.0.0-rc.2.21480.10 3 9/8/2025
6.0.0-rc.1.21452.15 4 9/8/2025
6.0.0-preview.7.21378.6 4 9/7/2025
6.0.0-preview.6.21355.2 3 9/8/2025
6.0.0-preview.5.21301.17 3 9/8/2025
6.0.0-preview.4.21253.5 3 9/8/2025
6.0.0-preview.3.21201.13 4 9/7/2025
6.0.0-preview.2.21154.6 3 9/8/2025
6.0.0-preview.1.21103.6 4 9/7/2025
5.0.17 4 9/8/2025
5.0.16 3 9/8/2025
5.0.15 4 9/9/2025
5.0.14 4 9/8/2025
5.0.13 3 9/8/2025
5.0.12 4 9/8/2025
5.0.11 4 9/8/2025
5.0.10 3 9/8/2025
5.0.9 3 9/7/2025
5.0.8 3 9/8/2025
5.0.7 3 9/8/2025
5.0.6 3 9/8/2025
5.0.5 3 9/8/2025
5.0.4 3 9/8/2025
5.0.3 3 9/8/2025
5.0.2 3 9/8/2025
5.0.1 4 9/7/2025
5.0.0 4 9/9/2025
5.0.0-rc.2.20475.17 3 9/8/2025
5.0.0-rc.1.20451.17 3 9/10/2025
5.0.0-preview.8.20414.8 3 9/8/2025
5.0.0-preview.7.20365.19 4 9/8/2025
5.0.0-preview.6.20312.15 2 9/9/2025