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

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