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

Prefix Reserved
This is a prerelease version of Microsoft.AspNetCore.Components.WebAssembly.Server.
dotnet add package Microsoft.AspNetCore.Components.WebAssembly.Server --version 10.0.0-preview.2.25164.1
                    
NuGet\Install-Package Microsoft.AspNetCore.Components.WebAssembly.Server -Version 10.0.0-preview.2.25164.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="10.0.0-preview.2.25164.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="10.0.0-preview.2.25164.1" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.AspNetCore.Components.WebAssembly.Server --version 10.0.0-preview.2.25164.1
                    
#r "nuget: Microsoft.AspNetCore.Components.WebAssembly.Server, 10.0.0-preview.2.25164.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Microsoft.AspNetCore.Components.WebAssembly.Server&version=10.0.0-preview.2.25164.1&prerelease
                    
Install Microsoft.AspNetCore.Components.WebAssembly.Server as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.Components.WebAssembly.Server&version=10.0.0-preview.2.25164.1&prerelease
                    
Install Microsoft.AspNetCore.Components.WebAssembly.Server as a Cake Tool

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.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (63)

Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.Components.WebAssembly.Server:

Package Downloads
Sitko.Core.Blazor.Server

Sitko.Core is a set of libraries to help build .NET Core applications fast

Fluxera.Extensions.Hosting.Modules.AspNetCore

A module that enables ASP.NET Core.

Vertiq.Features.Web

A highly modular framework for writing Blazor applications with a hassle-free, vertical-sliced architecture - Easy. Flexible. Focused.

HelpDesk.Client

A client for interacting with the EIT help desk.

Nowy.Auth.Server

Package Description

GitHub repositories (140)

Showing the top 5 popular GitHub repositories that depend on Microsoft.AspNetCore.Components.WebAssembly.Server:

Repository Stars
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
dotnet-architecture/eShopOnWeb
Sample ASP.NET Core 8.0 reference application, now community supported: https://github.com/NimblePros/eShopOnWeb
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10 Preview 2, 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
Version Downloads Last updated
10.0.0-preview.2.25164.1 427 3/18/2025
10.0.0-preview.1.25120.3 1,231 2/25/2025
9.0.3 68,567 3/11/2025
9.0.2 141,603 2/11/2025
9.0.1 153,285 1/14/2025
9.0.0 362,631 11/12/2024
9.0.0-rc.2.24474.3 11,064 10/8/2024
9.0.0-rc.1.24452.1 5,540 9/10/2024
9.0.0-preview.7.24406.2 2,576 8/13/2024
9.0.0-preview.6.24328.4 1,942 7/9/2024
9.0.0-preview.5.24306.11 5,989 6/11/2024
9.0.0-preview.4.24267.6 2,162 5/21/2024
9.0.0-preview.3.24172.13 4,065 4/11/2024
9.0.0-preview.2.24128.4 1,391 3/12/2024
9.0.0-preview.1.24081.5 4,202 2/13/2024
8.0.14 29,951 3/11/2025
8.0.13 63,386 2/11/2025
8.0.12 94,100 1/14/2025
8.0.11 302,858 11/12/2024
8.0.10 488,988 10/8/2024
8.0.8 593,631 8/13/2024
8.0.7 388,706 7/9/2024
8.0.6 595,022 5/28/2024
8.0.5 187,396 5/14/2024
8.0.4 453,621 4/9/2024
8.0.3 284,148 3/12/2024
8.0.2 453,977 2/13/2024
8.0.1 555,729 1/9/2024
8.0.0 686,006 11/14/2023
8.0.0-rc.2.23480.2 33,011 10/10/2023
8.0.0-rc.1.23421.29 14,768 9/12/2023
8.0.0-preview.7.23375.9 5,619 8/8/2023
8.0.0-preview.6.23329.11 11,316 7/11/2023
8.0.0-preview.5.23302.2 5,640 6/13/2023
8.0.0-preview.4.23260.4 2,234 5/16/2023
8.0.0-preview.3.23177.8 2,460 4/11/2023
8.0.0-preview.2.23153.2 2,394 3/14/2023
8.0.0-preview.1.23112.2 1,629 2/21/2023
7.0.20 37,596 5/28/2024
7.0.19 14,023 5/14/2024
7.0.18 14,590 4/9/2024
7.0.17 17,130 3/12/2024
7.0.16 32,367 2/13/2024
7.0.15 46,259 1/9/2024
7.0.14 91,533 11/14/2023
7.0.13 106,319 10/24/2023
7.0.12 132,351 10/10/2023
7.0.11 123,773 9/12/2023
7.0.10 227,958 8/8/2023
7.0.9 127,130 7/11/2023
7.0.8 92,148 6/22/2023
7.0.7 69,723 6/13/2023
7.0.5 395,565 4/11/2023
7.0.4 187,050 3/14/2023
7.0.3 203,002 2/14/2023
7.0.2 223,209 1/10/2023
7.0.1 145,679 12/13/2022
7.0.0 313,888 11/7/2022
7.0.0-rc.2.22476.2 6,283 10/11/2022
7.0.0-rc.1.22427.2 4,817 9/14/2022
7.0.0-preview.7.22376.6 3,430 8/9/2022
7.0.0-preview.6.22330.3 2,779 7/12/2022
7.0.0-preview.5.22303.8 1,468 6/14/2022
7.0.0-preview.4.22251.1 1,472 5/10/2022
7.0.0-preview.3.22178.4 1,422 4/13/2022
7.0.0-preview.2.22153.2 850 3/14/2022
7.0.0-preview.1.22109.13 1,056 2/17/2022
6.0.36 9,844 11/12/2024
6.0.35 3,660 10/8/2024
6.0.33 12,058 8/13/2024
6.0.32 32,179 7/9/2024
6.0.31 8,754 5/28/2024
6.0.30 3,948 5/14/2024
6.0.29 13,186 4/9/2024
6.0.28 21,794 3/12/2024
6.0.27 14,361 2/13/2024
6.0.26 43,021 1/9/2024
6.0.25 52,324 11/14/2023
6.0.24 23,348 10/24/2023
6.0.23 17,609 10/10/2023
6.0.22 40,986 9/12/2023
6.0.21 49,906 8/8/2023
6.0.20 45,527 7/11/2023
6.0.19 29,613 6/22/2023
6.0.18 18,151 6/13/2023
6.0.16 113,536 4/11/2023
6.0.15 91,111 3/14/2023
6.0.14 86,535 2/14/2023
6.0.13 129,186 1/10/2023
6.0.12 56,546 12/13/2022
6.0.11 273,745 11/7/2022
6.0.10 238,857 10/11/2022
6.0.9 201,109 9/13/2022
6.0.8 246,187 8/9/2022
6.0.7 361,512 7/12/2022
6.0.6 263,714 6/14/2022
6.0.5 253,830 5/10/2022
6.0.4 225,501 4/11/2022
6.0.3 276,892 3/8/2022
6.0.2 240,114 2/8/2022
6.0.1 409,120 12/14/2021
6.0.0 566,760 11/8/2021
6.0.0-rc.2.21480.10 21,720 10/12/2021
6.0.0-rc.1.21452.15 16,059 9/14/2021
6.0.0-preview.7.21378.6 33,776 8/10/2021
6.0.0-preview.6.21355.2 5,667 7/14/2021
6.0.0-preview.5.21301.17 5,190 6/15/2021
6.0.0-preview.4.21253.5 3,667 5/24/2021
6.0.0-preview.3.21201.13 3,489 4/8/2021
6.0.0-preview.2.21154.6 1,490 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21103.6 1,617 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 38,278 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 18,568 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 19,070 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 39,965 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 32,630 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 58,133 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 86,916 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 89,014 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 134,493 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 93,882 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 173,480 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 125,960 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 151,313 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 163,709 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 112,955 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 119,477 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 91,820 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 296,245 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 15,717 10/13/2020 5.0.0-rc.2.20475.17 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.17 12,591 9/14/2020 5.0.0-rc.1.20451.17 is deprecated because it is no longer maintained.
5.0.0-preview.8.20414.8 4,793 8/25/2020 5.0.0-preview.8.20414.8 is deprecated because it is no longer maintained.
5.0.0-preview.7.20365.19 3,028 7/21/2020 5.0.0-preview.7.20365.19 is deprecated because it is no longer maintained.
5.0.0-preview.6.20312.15 2,809 6/25/2020 5.0.0-preview.6.20312.15 is deprecated because it is no longer maintained.