Microsoft.AspNetCore.Components.WebAssembly.Server
10.0.0-preview.3.25172.1
Prefix Reserved
See the version list below for details.
dotnet add package Microsoft.AspNetCore.Components.WebAssembly.Server --version 10.0.0-preview.3.25172.1
NuGet\Install-Package Microsoft.AspNetCore.Components.WebAssembly.Server -Version 10.0.0-preview.3.25172.1
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="10.0.0-preview.3.25172.1" />
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="10.0.0-preview.3.25172.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" />
paket add Microsoft.AspNetCore.Components.WebAssembly.Server --version 10.0.0-preview.3.25172.1
#r "nuget: Microsoft.AspNetCore.Components.WebAssembly.Server, 10.0.0-preview.3.25172.1"
#addin nuget:?package=Microsoft.AspNetCore.Components.WebAssembly.Server&version=10.0.0-preview.3.25172.1&prerelease
#tool nuget:?package=Microsoft.AspNetCore.Components.WebAssembly.Server&version=10.0.0-preview.3.25172.1&prerelease
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 componentsAuthenticationStateSerializationOptions
: Provides options for configuring the JSON serialization of theAuthenticationState
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 | Versions 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. |
-
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 (153)
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 Preview 5, 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
|
|
elsa-workflows/elsa-core
A .NET workflows library
|
|
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 a set of 90+ free native Blazor UI components packed with DataGrid, Scheduler, Charts and robust theming including Material design and FluentUI.
|
|
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.
|
|
davidfowl/TodoApp
Todo application with ASP.NET Core Blazor WASM, Minimal APIs and Authentication
|
|
dotnet/sdk
Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
|
|
microsoft/dotnet-podcasts
.NET reference application shown at .NET Conf featuring ASP.NET Core, Blazor, .NET MAUI, Microservices, Orleans, Playwright, and more!
|
Version | Downloads | Last updated | |
---|---|---|---|
10.0.0-preview.5.25277.114 | 490 | 6/6/2025 | |
10.0.0-preview.4.25258.110 | 1,186 | 5/12/2025 | |
10.0.0-preview.3.25172.1 | 1,949 | 4/10/2025 | |
10.0.0-preview.2.25164.1 | 788 | 3/18/2025 | |
10.0.0-preview.1.25120.3 | 1,435 | 2/25/2025 | |
9.0.6 | 31,420 | 6/10/2025 | |
9.0.5 | 106,610 | 5/13/2025 | |
9.0.4 | 188,951 | 4/8/2025 | |
9.0.3 | 178,526 | 3/11/2025 | |
9.0.2 | 202,539 | 2/11/2025 | |
9.0.1 | 200,292 | 1/14/2025 | |
9.0.0 | 447,709 | 11/12/2024 | |
9.0.0-rc.2.24474.3 | 11,341 | 10/8/2024 | |
9.0.0-rc.1.24452.1 | 5,660 | 9/10/2024 | |
9.0.0-preview.7.24406.2 | 2,622 | 8/13/2024 | |
9.0.0-preview.6.24328.4 | 1,978 | 7/9/2024 | |
9.0.0-preview.5.24306.11 | 6,090 | 6/11/2024 | |
9.0.0-preview.4.24267.6 | 2,249 | 5/21/2024 | |
9.0.0-preview.3.24172.13 | 4,233 | 4/11/2024 | |
9.0.0-preview.2.24128.4 | 1,477 | 3/12/2024 | |
9.0.0-preview.1.24081.5 | 4,413 | 2/13/2024 | |
8.0.17 | 12,420 | 6/10/2025 | |
8.0.16 | 41,080 | 5/13/2025 | |
8.0.15 | 87,222 | 4/8/2025 | |
8.0.14 | 93,082 | 3/11/2025 | |
8.0.13 | 126,695 | 2/11/2025 | |
8.0.12 | 143,211 | 1/14/2025 | |
8.0.11 | 405,078 | 11/12/2024 | |
8.0.10 | 587,749 | 10/8/2024 | |
8.0.8 | 664,455 | 8/13/2024 | |
8.0.7 | 427,541 | 7/9/2024 | |
8.0.6 | 687,294 | 5/28/2024 | |
8.0.5 | 204,524 | 5/14/2024 | |
8.0.4 | 489,227 | 4/9/2024 | |
8.0.3 | 310,099 | 3/12/2024 | |
8.0.2 | 500,920 | 2/13/2024 | |
8.0.1 | 588,187 | 1/9/2024 | |
8.0.0 | 741,029 | 11/14/2023 | |
8.0.0-rc.2.23480.2 | 33,525 | 10/10/2023 | |
8.0.0-rc.1.23421.29 | 14,809 | 9/12/2023 | |
8.0.0-preview.7.23375.9 | 5,663 | 8/8/2023 | |
8.0.0-preview.6.23329.11 | 11,397 | 7/11/2023 | |
8.0.0-preview.5.23302.2 | 5,671 | 6/13/2023 | |
8.0.0-preview.4.23260.4 | 2,263 | 5/16/2023 | |
8.0.0-preview.3.23177.8 | 2,500 | 4/11/2023 | |
8.0.0-preview.2.23153.2 | 2,424 | 3/14/2023 | |
8.0.0-preview.1.23112.2 | 1,650 | 2/21/2023 | |
7.0.20 | 43,406 | 5/28/2024 | |
7.0.19 | 18,292 | 5/14/2024 | |
7.0.18 | 16,455 | 4/9/2024 | |
7.0.17 | 18,941 | 3/12/2024 | |
7.0.16 | 35,719 | 2/13/2024 | |
7.0.15 | 53,882 | 1/9/2024 | |
7.0.14 | 93,889 | 11/14/2023 | |
7.0.13 | 110,415 | 10/24/2023 | |
7.0.12 | 134,753 | 10/10/2023 | |
7.0.11 | 126,184 | 9/12/2023 | |
7.0.10 | 232,296 | 8/8/2023 | |
7.0.9 | 131,029 | 7/11/2023 | |
7.0.8 | 94,084 | 6/22/2023 | |
7.0.7 | 71,292 | 6/13/2023 | |
7.0.5 | 403,148 | 4/11/2023 | |
7.0.4 | 188,706 | 3/14/2023 | |
7.0.3 | 205,710 | 2/14/2023 | |
7.0.2 | 231,099 | 1/10/2023 | |
7.0.1 | 147,435 | 12/13/2022 | |
7.0.0 | 320,667 | 11/7/2022 | |
7.0.0-rc.2.22476.2 | 6,320 | 10/11/2022 | |
7.0.0-rc.1.22427.2 | 4,845 | 9/14/2022 | |
7.0.0-preview.7.22376.6 | 3,455 | 8/9/2022 | |
7.0.0-preview.6.22330.3 | 2,807 | 7/12/2022 | |
7.0.0-preview.5.22303.8 | 1,492 | 6/14/2022 | |
7.0.0-preview.4.22251.1 | 1,498 | 5/10/2022 | |
7.0.0-preview.3.22178.4 | 1,465 | 4/13/2022 | |
7.0.0-preview.2.22153.2 | 876 | 3/14/2022 | |
7.0.0-preview.1.22109.13 | 1,146 | 2/17/2022 | |
6.0.36 | 18,188 | 11/12/2024 | |
6.0.35 | 4,167 | 10/8/2024 | |
6.0.33 | 12,789 | 8/13/2024 | |
6.0.32 | 35,596 | 7/9/2024 | |
6.0.31 | 9,609 | 5/28/2024 | |
6.0.30 | 4,341 | 5/14/2024 | |
6.0.29 | 13,924 | 4/9/2024 | |
6.0.28 | 23,648 | 3/12/2024 | |
6.0.27 | 15,242 | 2/13/2024 | |
6.0.26 | 44,571 | 1/9/2024 | |
6.0.25 | 53,762 | 11/14/2023 | |
6.0.24 | 24,079 | 10/24/2023 | |
6.0.23 | 18,272 | 10/10/2023 | |
6.0.22 | 41,736 | 9/12/2023 | |
6.0.21 | 50,905 | 8/8/2023 | |
6.0.20 | 46,600 | 7/11/2023 | |
6.0.19 | 32,922 | 6/22/2023 | |
6.0.18 | 18,553 | 6/13/2023 | |
6.0.16 | 115,712 | 4/11/2023 | |
6.0.15 | 92,834 | 3/14/2023 | |
6.0.14 | 88,520 | 2/14/2023 | |
6.0.13 | 130,466 | 1/10/2023 | |
6.0.12 | 57,977 | 12/13/2022 | |
6.0.11 | 277,517 | 11/7/2022 | |
6.0.10 | 242,109 | 10/11/2022 | |
6.0.9 | 204,470 | 9/13/2022 | |
6.0.8 | 247,971 | 8/9/2022 | |
6.0.7 | 367,775 | 7/12/2022 | |
6.0.6 | 268,309 | 6/14/2022 | |
6.0.5 | 255,897 | 5/10/2022 | |
6.0.4 | 227,641 | 4/11/2022 | |
6.0.3 | 282,545 | 3/8/2022 | |
6.0.2 | 242,892 | 2/8/2022 | |
6.0.1 | 416,979 | 12/14/2021 | |
6.0.0 | 579,290 | 11/8/2021 | |
6.0.0-rc.2.21480.10 | 21,832 | 10/12/2021 | |
6.0.0-rc.1.21452.15 | 17,473 | 9/14/2021 | |
6.0.0-preview.7.21378.6 | 33,823 | 8/10/2021 | |
6.0.0-preview.6.21355.2 | 5,696 | 7/14/2021 | |
6.0.0-preview.5.21301.17 | 5,230 | 6/15/2021 | |
6.0.0-preview.4.21253.5 | 3,701 | 5/24/2021 | |
6.0.0-preview.3.21201.13 | 3,528 | 4/8/2021 | |
6.0.0-preview.2.21154.6 | 1,544 | 3/11/2021 | |
6.0.0-preview.1.21103.6 | 1,671 | 2/12/2021 | |
5.0.17 | 39,387 | 5/10/2022 | |
5.0.16 | 21,118 | 4/11/2022 | |
5.0.15 | 19,600 | 3/8/2022 | |
5.0.14 | 42,979 | 2/8/2022 | |
5.0.13 | 33,523 | 12/14/2021 | |
5.0.12 | 58,574 | 11/7/2021 | |
5.0.11 | 87,628 | 10/12/2021 | |
5.0.10 | 89,375 | 9/14/2021 | |
5.0.9 | 137,776 | 8/10/2021 | |
5.0.8 | 95,756 | 7/13/2021 | |
5.0.7 | 179,735 | 6/8/2021 | |
5.0.6 | 126,663 | 5/11/2021 | |
5.0.5 | 155,951 | 4/6/2021 | |
5.0.4 | 173,493 | 3/9/2021 | |
5.0.3 | 117,488 | 2/9/2021 | |
5.0.2 | 120,706 | 1/12/2021 | |
5.0.1 | 95,497 | 12/8/2020 | |
5.0.0 | 308,169 | 11/9/2020 | |
5.0.0-rc.2.20475.17 | 16,631 | 10/13/2020 | |
5.0.0-rc.1.20451.17 | 12,648 | 9/14/2020 | |
5.0.0-preview.8.20414.8 | 4,869 | 8/25/2020 | |
5.0.0-preview.7.20365.19 | 3,085 | 7/21/2020 | |
5.0.0-preview.6.20312.15 | 2,869 | 6/25/2020 |