Microsoft.AspNetCore.Components.WebAssembly.Server
10.0.0-preview.2.25164.1
Prefix Reserved
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
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="10.0.0-preview.2.25164.1" />
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="10.0.0-preview.2.25164.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" />
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"
#addin nuget:?package=Microsoft.AspNetCore.Components.WebAssembly.Server&version=10.0.0-preview.2.25164.1&prerelease
#tool nuget:?package=Microsoft.AspNetCore.Components.WebAssembly.Server&version=10.0.0-preview.2.25164.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
- 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 (151)
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 | 396 | 3/18/2025 | |
10.0.0-preview.1.25120.3 | 1,213 | 2/25/2025 | |
9.0.3 | 59,730 | 3/11/2025 | |
9.0.2 | 137,734 | 2/11/2025 | |
9.0.1 | 150,845 | 1/14/2025 | |
9.0.0 | 359,291 | 11/12/2024 | |
9.0.0-rc.2.24474.3 | 11,049 | 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,984 | 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,192 | 2/13/2024 | |
8.0.14 | 25,851 | 3/11/2025 | |
8.0.13 | 60,737 | 2/11/2025 | |
8.0.12 | 92,204 | 1/14/2025 | |
8.0.11 | 298,776 | 11/12/2024 | |
8.0.10 | 484,497 | 10/8/2024 | |
8.0.8 | 591,183 | 8/13/2024 | |
8.0.7 | 387,345 | 7/9/2024 | |
8.0.6 | 591,731 | 5/28/2024 | |
8.0.5 | 186,970 | 5/14/2024 | |
8.0.4 | 452,212 | 4/9/2024 | |
8.0.3 | 283,512 | 3/12/2024 | |
8.0.2 | 452,502 | 2/13/2024 | |
8.0.1 | 554,797 | 1/9/2024 | |
8.0.0 | 684,235 | 11/14/2023 | |
8.0.0-rc.2.23480.2 | 32,998 | 10/10/2023 | |
8.0.0-rc.1.23421.29 | 14,767 | 9/12/2023 | |
8.0.0-preview.7.23375.9 | 5,617 | 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,393 | 3/14/2023 | |
8.0.0-preview.1.23112.2 | 1,629 | 2/21/2023 | |
7.0.20 | 37,378 | 5/28/2024 | |
7.0.19 | 13,930 | 5/14/2024 | |
7.0.18 | 14,550 | 4/9/2024 | |
7.0.17 | 17,064 | 3/12/2024 | |
7.0.16 | 32,267 | 2/13/2024 | |
7.0.15 | 46,178 | 1/9/2024 | |
7.0.14 | 91,438 | 11/14/2023 | |
7.0.13 | 106,248 | 10/24/2023 | |
7.0.12 | 132,282 | 10/10/2023 | |
7.0.11 | 123,689 | 9/12/2023 | |
7.0.10 | 227,772 | 8/8/2023 | |
7.0.9 | 127,064 | 7/11/2023 | |
7.0.8 | 92,097 | 6/22/2023 | |
7.0.7 | 69,668 | 6/13/2023 | |
7.0.5 | 395,372 | 4/11/2023 | |
7.0.4 | 186,946 | 3/14/2023 | |
7.0.3 | 202,927 | 2/14/2023 | |
7.0.2 | 223,142 | 1/10/2023 | |
7.0.1 | 145,617 | 12/13/2022 | |
7.0.0 | 313,722 | 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,778 | 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,701 | 11/12/2024 | |
6.0.35 | 3,645 | 10/8/2024 | |
6.0.33 | 12,043 | 8/13/2024 | |
6.0.32 | 31,987 | 7/9/2024 | |
6.0.31 | 8,731 | 5/28/2024 | |
6.0.30 | 3,937 | 5/14/2024 | |
6.0.29 | 13,149 | 4/9/2024 | |
6.0.28 | 21,719 | 3/12/2024 | |
6.0.27 | 14,333 | 2/13/2024 | |
6.0.26 | 42,988 | 1/9/2024 | |
6.0.25 | 52,268 | 11/14/2023 | |
6.0.24 | 23,332 | 10/24/2023 | |
6.0.23 | 17,597 | 10/10/2023 | |
6.0.22 | 40,942 | 9/12/2023 | |
6.0.21 | 49,875 | 8/8/2023 | |
6.0.20 | 45,498 | 7/11/2023 | |
6.0.19 | 29,586 | 6/22/2023 | |
6.0.18 | 18,141 | 6/13/2023 | |
6.0.16 | 113,483 | 4/11/2023 | |
6.0.15 | 91,080 | 3/14/2023 | |
6.0.14 | 86,461 | 2/14/2023 | |
6.0.13 | 129,164 | 1/10/2023 | |
6.0.12 | 56,515 | 12/13/2022 | |
6.0.11 | 273,582 | 11/7/2022 | |
6.0.10 | 238,755 | 10/11/2022 | |
6.0.9 | 201,033 | 9/13/2022 | |
6.0.8 | 246,144 | 8/9/2022 | |
6.0.7 | 361,311 | 7/12/2022 | |
6.0.6 | 263,473 | 6/14/2022 | |
6.0.5 | 253,727 | 5/10/2022 | |
6.0.4 | 225,460 | 4/11/2022 | |
6.0.3 | 276,778 | 3/8/2022 | |
6.0.2 | 240,094 | 2/8/2022 | |
6.0.1 | 408,945 | 12/14/2021 | |
6.0.0 | 566,469 | 11/8/2021 | |
6.0.0-rc.2.21480.10 | 21,719 | 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,488 | 4/8/2021 | |
6.0.0-preview.2.21154.6 | 1,489 | 3/11/2021 | |
6.0.0-preview.1.21103.6 | 1,616 | 2/12/2021 | |
5.0.17 | 38,232 | 5/10/2022 | |
5.0.16 | 18,466 | 4/11/2022 | |
5.0.15 | 19,055 | 3/8/2022 | |
5.0.14 | 39,903 | 2/8/2022 | |
5.0.13 | 32,590 | 12/14/2021 | |
5.0.12 | 58,122 | 11/7/2021 | |
5.0.11 | 86,907 | 10/12/2021 | |
5.0.10 | 89,008 | 9/14/2021 | |
5.0.9 | 134,489 | 8/10/2021 | |
5.0.8 | 93,845 | 7/13/2021 | |
5.0.7 | 173,466 | 6/8/2021 | |
5.0.6 | 125,954 | 5/11/2021 | |
5.0.5 | 151,304 | 4/6/2021 | |
5.0.4 | 163,573 | 3/9/2021 | |
5.0.3 | 112,945 | 2/9/2021 | |
5.0.2 | 119,469 | 1/12/2021 | |
5.0.1 | 91,810 | 12/8/2020 | |
5.0.0 | 296,201 | 11/9/2020 | |
5.0.0-rc.2.20475.17 | 15,708 | 10/13/2020 | |
5.0.0-rc.1.20451.17 | 12,590 | 9/14/2020 | |
5.0.0-preview.8.20414.8 | 4,790 | 8/25/2020 | |
5.0.0-preview.7.20365.19 | 3,027 | 7/21/2020 | |
5.0.0-preview.6.20312.15 | 2,808 | 6/25/2020 |