Rask.Cqrs.Client 0.23.1-alpha.0.89

This is a prerelease version of Rask.Cqrs.Client.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Rask.Cqrs.Client --version 0.23.1-alpha.0.89
                    
NuGet\Install-Package Rask.Cqrs.Client -Version 0.23.1-alpha.0.89
                    
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="Rask.Cqrs.Client" Version="0.23.1-alpha.0.89" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rask.Cqrs.Client" Version="0.23.1-alpha.0.89" />
                    
Directory.Packages.props
<PackageReference Include="Rask.Cqrs.Client" />
                    
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 Rask.Cqrs.Client --version 0.23.1-alpha.0.89
                    
#r "nuget: Rask.Cqrs.Client, 0.23.1-alpha.0.89"
                    
#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 Rask.Cqrs.Client@0.23.1-alpha.0.89
                    
#: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=Rask.Cqrs.Client&version=0.23.1-alpha.0.89&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Rask.Cqrs.Client&version=0.23.1-alpha.0.89&prerelease
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

  • net11.0

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.133 33 10/2/2026
0.23.1-alpha.0.132 35 10/2/2026
0.23.1-alpha.0.131 35 10/2/2026
0.23.1-alpha.0.130 33 10/2/2026
0.23.1-alpha.0.129 39 10/2/2026
0.23.1-alpha.0.128 37 10/2/2026
0.23.1-alpha.0.127 40 10/2/2026
0.23.1-alpha.0.126 31 10/2/2026
0.23.1-alpha.0.125 38 10/2/2026
0.23.1-alpha.0.123 41 10/2/2026
0.23.1-alpha.0.122 35 10/1/2026
0.23.1-alpha.0.121 42 10/1/2026
0.23.1-alpha.0.117 38 10/1/2026
0.23.1-alpha.0.116 39 9/30/2026
0.23.1-alpha.0.115 43 9/30/2026
0.23.1-alpha.0.113 43 10/1/2026
0.23.1-alpha.0.110 40 10/1/2026
0.23.1-alpha.0.108 46 9/30/2026
0.23.1-alpha.0.89 54 9/28/2026
0.23.0 108 9/18/2026
Loading failed