Microsoft.AspNetCore.Components.WebAssembly.Server 10.0.0

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.

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