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

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

  • No dependencies.

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