Rask.Cqrs.Client
0.23.1-alpha.0.95
See the version list below for details.
dotnet add package Rask.Cqrs.Client --version 0.23.1-alpha.0.95
NuGet\Install-Package Rask.Cqrs.Client -Version 0.23.1-alpha.0.95
<PackageReference Include="Rask.Cqrs.Client" Version="0.23.1-alpha.0.95" />
<PackageVersion Include="Rask.Cqrs.Client" Version="0.23.1-alpha.0.95" />
<PackageReference Include="Rask.Cqrs.Client" />
paket add Rask.Cqrs.Client --version 0.23.1-alpha.0.95
#r "nuget: Rask.Cqrs.Client, 0.23.1-alpha.0.95"
#:package Rask.Cqrs.Client@0.23.1-alpha.0.95
#addin nuget:?package=Rask.Cqrs.Client&version=0.23.1-alpha.0.95&prerelease
#tool nuget:?package=Rask.Cqrs.Client&version=0.23.1-alpha.0.95&prerelease
Rask.Cqrs.Client
The browser half of Rask.Cqrs remote dispatch, for Rask, a full-stack .NET web
framework for teams of any size. A page running in WebAssembly reaches its server through the same
IDispatcher call it would make in-process — no HttpClient at the call site, no /api/* endpoint to
write, nothing on a message marking it as remote.
- Every request message the client dispatches goes to the server: queries as GET, commands as POST, files as multipart, subscriptions as server-sent events.
- A client is a pure client — a stray client-side handler can never quietly intercept a request. Notifications are the deliberate exception: they fan out locally and travel.
- Reflection-free. The wire codecs are source-generated, so it publishes clean under the WebAssembly trimmer.
- The other half is Rask.Cqrs.Server; neither references the other, so the browser bundle never carries endpoint code.
Install
dotnet add package Rask.Cqrs.Client
rask new Shop --template wasm-hosted scaffolds both halves in one project, with the message records in
Shared/ and the handlers on the server.
Use
// Shared/Orders.cs — compiled into both the browser app and the server
public sealed record GetOrders(int Page) : IQuery<IReadOnlyList<OrderRow>>;
// Client/Program.cs
var host = WasmHostBuilder.CreateDefault();
host.Services.AddRaskCqrsClient();
host.Services.AddRaskQuery(); // QueryClient in the browser
await host.RunAsync<App>();
// A browser page, through Rask.Query: the handler runs on the server.
var orders = QueryClient.Query(new GetOrders(Page));
Guide: CQRS — remote dispatch
| 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. net11.0 is compatible. |
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Rask.Cqrs.Client:
| Package | Downloads |
|---|---|
|
Rask.Wasm
The Rask browser host: runs a Rask app's C# components client-side on .NET WebAssembly, with the client halves of the batteries — the mediator and query cache, remote dispatch, accounts, validation and the component kit — on by default. Ships the JS boot scripts, the page shell, and the MSBuild integration that stages them into the published bundle — and, opted in, prerenders every route to static HTML with a sitemap.xml at publish, so a static host serves real pages to visitors and crawlers. Depends on Rask, the shared core. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.23.1-alpha.0.430 | 0 | 10/20/2026 |
| 0.23.1-alpha.0.429 | 0 | 10/20/2026 |
| 0.23.1-alpha.0.428 | 0 | 10/20/2026 |
| 0.23.1-alpha.0.427 | 0 | 10/20/2026 |
| 0.23.1-alpha.0.425 | 0 | 10/20/2026 |
| 0.23.1-alpha.0.423 | 0 | 10/20/2026 |
| 0.23.1-alpha.0.422 | 27 | 10/19/2026 |
| 0.23.1-alpha.0.421 | 32 | 10/19/2026 |
| 0.23.1-alpha.0.420 | 32 | 10/19/2026 |
| 0.23.1-alpha.0.419 | 31 | 10/19/2026 |
| 0.23.1-alpha.0.418 | 43 | 10/19/2026 |
| 0.23.1-alpha.0.415 | 37 | 10/19/2026 |
| 0.23.1-alpha.0.414 | 35 | 10/19/2026 |
| 0.23.1-alpha.0.413 | 46 | 10/18/2026 |
| 0.23.1-alpha.0.412 | 45 | 10/17/2026 |
| 0.23.1-alpha.0.411 | 46 | 10/17/2026 |
| 0.23.1-alpha.0.410 | 40 | 10/17/2026 |
| 0.23.1-alpha.0.409 | 47 | 10/16/2026 |
| 0.23.1-alpha.0.95 | 57 | 9/29/2026 |
| 0.23.0 | 115 | 9/18/2026 |