Rask.Wasm
0.23.1-alpha.0.113
See the version list below for details.
dotnet add package Rask.Wasm --version 0.23.1-alpha.0.113
NuGet\Install-Package Rask.Wasm -Version 0.23.1-alpha.0.113
<PackageReference Include="Rask.Wasm" Version="0.23.1-alpha.0.113" />
<PackageVersion Include="Rask.Wasm" Version="0.23.1-alpha.0.113" />
<PackageReference Include="Rask.Wasm" />
paket add Rask.Wasm --version 0.23.1-alpha.0.113
#r "nuget: Rask.Wasm, 0.23.1-alpha.0.113"
#:package Rask.Wasm@0.23.1-alpha.0.113
#addin nuget:?package=Rask.Wasm&version=0.23.1-alpha.0.113&prerelease
#tool nuget:?package=Rask.Wasm&version=0.23.1-alpha.0.113&prerelease
Rask.Wasm
The browser runtime for Rask, a full-stack .NET web framework for teams of any size. It runs a Rask app's C# components client-side on .NET WebAssembly — the same components, chain markup and router as the server host — and publishes to a static folder any web server or CDN can serve.
- Ships the JS boot scripts, the page shell, and the MSBuild integration that stages them into the published bundle.
- Depends on
Rask, the shared core (components, the chain, routing, forms, scoped CSS/TypeScript, the generators), and brings the trim-safe client batteries on by default: the mediator and query cache, remote dispatch, accounts, validation and theRask.Uikit.host.Configure(c => c.Query.Off())is how an app does without one. - Opt in with
<RaskPrerender>true</RaskPrerender>and every route is prerendered to real HTML at publish, with asitemap.xml, so visitors and crawlers get the page instead of a boot spinner.
Install
dotnet add package Rask.Wasm
Or scaffold one with the CLI — rask new Shop --template wasm (a static site) or --template wasm-hosted
(a browser app with an ASP.NET host beside it).
Use
// Program.cs
var host = WasmHostBuilder.CreateDefault();
await host.RunAsync<App>(); // App is your root component; its Render() returns Router
[Route("/")]
public sealed partial class Home : Component
{
int _count;
protected override Component? Render() =>
Div[
H1["Hello from WebAssembly"],
Button.OnClick(() => _count++)[$"Clicked {_count} times"]
];
}
The WebAssembly build tooling is a one-time install: dotnet workload install wasm-tools.
Guides: getting started · prerendering · Mobile & PWA
| 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-browser1.0 is compatible. 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. net11.0 is compatible. net11.0-browser1.0 is compatible. |
-
net10.0
- Microsoft.AspNetCore.Authorization (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection (>= 10.0.12)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Logging (>= 10.0.12)
- Microsoft.Extensions.ObjectPool (>= 10.0.12)
- Microsoft.JSInterop (>= 10.0.12)
- Rask (>= 0.23.1-alpha.0.113)
- Rask.Api.Client (>= 0.23.1-alpha.0.113)
- Rask.Auth.Client (>= 0.23.1-alpha.0.113)
- Rask.Cqrs (>= 0.23.1-alpha.0.113)
- Rask.Cqrs.Client (>= 0.23.1-alpha.0.113)
- Rask.Query (>= 0.23.1-alpha.0.113)
- Rask.Ui (>= 0.23.1-alpha.0.113)
- Rask.Validation.FluentValidation (>= 0.23.1-alpha.0.113)
- Rask.Web (>= 0.23.1-alpha.0.113)
-
net10.0-browser1.0
- Microsoft.AspNetCore.Authorization (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection (>= 10.0.12)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Logging (>= 10.0.12)
- Microsoft.Extensions.ObjectPool (>= 10.0.12)
- Microsoft.JSInterop (>= 10.0.12)
- Rask (>= 0.23.1-alpha.0.113)
- Rask.Api.Client (>= 0.23.1-alpha.0.113)
- Rask.Auth.Client (>= 0.23.1-alpha.0.113)
- Rask.Cqrs (>= 0.23.1-alpha.0.113)
- Rask.Cqrs.Client (>= 0.23.1-alpha.0.113)
- Rask.Query (>= 0.23.1-alpha.0.113)
- Rask.Ui (>= 0.23.1-alpha.0.113)
- Rask.Validation.FluentValidation (>= 0.23.1-alpha.0.113)
- Rask.Web (>= 0.23.1-alpha.0.113)
-
net11.0
- Microsoft.AspNetCore.Authorization (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection (>= 10.0.12)
- Microsoft.Extensions.Logging (>= 10.0.12)
- Microsoft.Extensions.ObjectPool (>= 10.0.12)
- Microsoft.JSInterop (>= 10.0.12)
- Rask (>= 0.23.1-alpha.0.113)
- Rask.Api.Client (>= 0.23.1-alpha.0.113)
- Rask.Auth.Client (>= 0.23.1-alpha.0.113)
- Rask.Cqrs (>= 0.23.1-alpha.0.113)
- Rask.Cqrs.Client (>= 0.23.1-alpha.0.113)
- Rask.Query (>= 0.23.1-alpha.0.113)
- Rask.Ui (>= 0.23.1-alpha.0.113)
- Rask.Validation.FluentValidation (>= 0.23.1-alpha.0.113)
- Rask.Web (>= 0.23.1-alpha.0.113)
-
net11.0-browser1.0
- Microsoft.AspNetCore.Authorization (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection (>= 10.0.12)
- Microsoft.Extensions.Logging (>= 10.0.12)
- Microsoft.Extensions.ObjectPool (>= 10.0.12)
- Microsoft.JSInterop (>= 10.0.12)
- Rask (>= 0.23.1-alpha.0.113)
- Rask.Api.Client (>= 0.23.1-alpha.0.113)
- Rask.Auth.Client (>= 0.23.1-alpha.0.113)
- Rask.Cqrs (>= 0.23.1-alpha.0.113)
- Rask.Cqrs.Client (>= 0.23.1-alpha.0.113)
- Rask.Query (>= 0.23.1-alpha.0.113)
- Rask.Ui (>= 0.23.1-alpha.0.113)
- Rask.Validation.FluentValidation (>= 0.23.1-alpha.0.113)
- Rask.Web (>= 0.23.1-alpha.0.113)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Rask.Wasm:
| Package | Downloads |
|---|---|
|
Rask.Wasm.Hosting
ASP.NET helper for serving a Rask WASM AppBundle as a SPA. `app.UseRask()` mounts the published bundle with the right MIME types, no-cache revalidation, and a SPA fallback so client-side routes resolve. Depends on Rask.Wasm. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.23.1-alpha.0.133 | 32 | 10/2/2026 |
| 0.23.1-alpha.0.132 | 35 | 10/2/2026 |
| 0.23.1-alpha.0.131 | 31 | 10/2/2026 |
| 0.23.1-alpha.0.130 | 32 | 10/2/2026 |
| 0.23.1-alpha.0.129 | 36 | 10/2/2026 |
| 0.23.1-alpha.0.128 | 33 | 10/2/2026 |
| 0.23.1-alpha.0.127 | 41 | 10/2/2026 |
| 0.23.1-alpha.0.126 | 29 | 10/2/2026 |
| 0.23.1-alpha.0.125 | 31 | 10/2/2026 |
| 0.23.1-alpha.0.123 | 35 | 10/2/2026 |
| 0.23.1-alpha.0.122 | 38 | 10/1/2026 |
| 0.23.1-alpha.0.121 | 37 | 10/1/2026 |
| 0.23.1-alpha.0.117 | 31 | 10/1/2026 |
| 0.23.1-alpha.0.116 | 36 | 9/30/2026 |
| 0.23.1-alpha.0.115 | 43 | 9/30/2026 |
| 0.23.1-alpha.0.114 | 37 | 9/30/2026 |
| 0.23.1-alpha.0.113 | 40 | 10/1/2026 |
| 0.23.1-alpha.0.110 | 35 | 10/1/2026 |
| 0.23.1-alpha.0.108 | 35 | 9/30/2026 |
| 0.23.0 | 216 | 9/18/2026 |