Microsoft.AspNetCore.Components.WebAssembly.Server 10.0.0-rc.1.25451.107

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