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 (169)

Showing the top 20 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
RayWangQvQ/BiliBiliToolPro
B 站(bilibili)自动任务工具,支持docker、青龙、k8s等多种部署方式。敏感肌也能用。
elsa-workflows/elsa-core
The Workflow Engine for .NET
ant-design-blazor/ant-design-blazor
🌈A rich set of enterprise-class UI components based on Ant Design and Blazor.
kurrent-io/KurrentDB
KurrentDB is a database that's engineered for modern software applications and event-driven architectures. Its event-native design simplifies data modeling and preserves data integrity while the integrated streaming engine solves distributed messaging challenges and ensures data consistency.
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
protobuf-net/protobuf-net
Protocol Buffers library for idiomatic .NET
microsoft/fluentui-blazor
Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
grpc/grpc-dotnet
gRPC for .NET
dotnetcore/WTM
Use WTM to write .netcore app fast !!!
radzenhq/radzen-blazor
Radzen Blazor is the most sophisticated free UI component library for Blazor, featuring 100+ native components including DataGrid, Scheduler, Charts, and advanced theming with full support for Material Design and Fluent UI.
fullstackhero/blazor-starter-kit
Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
Megabit/Blazorise
Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Tailwind, Bulma, AntDesign, and Material.
martinothamar/Mediator
A high performance implementation of Mediator pattern in .NET using source generators.
linq2db/linq2db
Linq to database provider.
Version Downloads Last Updated
11.0.0-preview.1.26104.118 111 2/10/2026
10.0.3 14,277 2/10/2026
10.0.2 146,516 1/13/2026
10.0.1 178,534 12/9/2025
10.0.0 217,810 11/11/2025
10.0.0-rc.2.25502.107 15,095 10/14/2025
10.0.0-rc.1.25451.107 12,374 9/9/2025
10.0.0-preview.7.25380.108 2,923 8/12/2025
9.0.13 2,698 2/10/2026
9.0.12 22,394 1/13/2026
9.0.11 108,593 11/11/2025
9.0.10 247,092 10/14/2025
9.0.9 269,628 9/9/2025
9.0.8 263,391 8/5/2025
8.0.24 2,889 2/10/2026
8.0.23 22,751 1/13/2026
8.0.22 69,486 11/11/2025
8.0.21 79,801 10/14/2025
8.0.20 88,004 9/9/2025
8.0.19 130,499 8/4/2025
Loading failed