Microsoft.AspNetCore.Components.WebAssembly.Server 10.0.3

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.AspNetCore.Components.WebAssembly.Server --version 10.0.3
                    
NuGet\Install-Package Microsoft.AspNetCore.Components.WebAssembly.Server -Version 10.0.3
                    
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.3" />
                    
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.3" />
                    
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.3
                    
#r "nuget: Microsoft.AspNetCore.Components.WebAssembly.Server, 10.0.3"
                    
#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.
#:package Microsoft.AspNetCore.Components.WebAssembly.Server@10.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.AspNetCore.Components.WebAssembly.Server&version=10.0.3
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.Components.WebAssembly.Server&version=10.0.3
                    
Install 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.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (71)

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.

Oqtane.Server

A modular application framework for Blazor

Vertiq.Features.Web

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

Hexalith.Infrastructure.ClientAppOnServer

Hexalith is a set of libraries to build a micro-service architecture.

GitHub repositories (6)

Showing the top 6 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, 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.
MudBlazor/MudBlazor
Blazor Component Library based on Material Design principles with an emphasis on ease of use and extensibility
Version Downloads Last Updated
11.0.0-preview.1.26104.118 208 2/10/2026
10.0.3 43,547 2/10/2026
10.0.2 166,617 1/13/2026
10.0.1 188,118 12/9/2025
10.0.0 229,897 11/11/2025
10.0.0-rc.2.25502.107 15,384 10/14/2025
10.0.0-rc.1.25451.107 12,397 9/9/2025
10.0.0-preview.7.25380.108 2,963 8/12/2025
9.0.13 7,310 2/10/2026
9.0.12 25,827 1/13/2026
9.0.11 112,173 11/11/2025
9.0.10 252,982 10/14/2025
9.0.9 273,804 9/9/2025
9.0.8 267,207 8/5/2025
8.0.24 7,150 2/10/2026
8.0.23 25,845 1/13/2026
8.0.22 72,756 11/11/2025
8.0.21 81,918 10/14/2025
8.0.20 89,565 9/9/2025
8.0.19 132,271 8/4/2025
Loading failed