Rask.Server
0.23.1-alpha.0.45
See the version list below for details.
dotnet add package Rask.Server --version 0.23.1-alpha.0.45
NuGet\Install-Package Rask.Server -Version 0.23.1-alpha.0.45
<PackageReference Include="Rask.Server" Version="0.23.1-alpha.0.45" />
<PackageVersion Include="Rask.Server" Version="0.23.1-alpha.0.45" />
<PackageReference Include="Rask.Server" />
paket add Rask.Server --version 0.23.1-alpha.0.45
#r "nuget: Rask.Server, 0.23.1-alpha.0.45"
#:package Rask.Server@0.23.1-alpha.0.45
#addin nuget:?package=Rask.Server&version=0.23.1-alpha.0.45&prerelease
#tool nuget:?package=Rask.Server&version=0.23.1-alpha.0.45&prerelease
Rask.Server
The ASP.NET Core host for Rask, a full-stack .NET web framework for teams of any size. Pages and components are plain C#; this package renders them into the first HTTP response and keeps every page live over a WebSocket, sending only the DOM changes a click or a timer produced — with an HTTP fallback where a socket cannot open.
- Includes Rask.Core (components, the element chain, routing, forms, scoped CSS/TypeScript) and the Rask source generators, so one reference is the whole framework on the server.
- Event handlers, data access and secrets stay on the server; the browser receives HTML and diffs.
- Settings bind from
appsettings.jsonunderRask:(Rask:Server,Rask:Culture, …).
Install
dotnet add package Rask.Server
Or scaffold a complete app with the CLI — rask new Shop — see
installation.
Use
// Program.cs
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddRask();
var app = builder.Build();
app.MapStaticAssets();
app.UseRask<App>(); // App is your root component; its Render() returns Router
app.Run();
[Route("/")]
public sealed partial class Home : Component
{
int _count;
protected override Component? Render() =>
Div[
H1["Hello, Rask"],
Button.OnClick(() => _count++)[$"Clicked {_count} times"]
];
}
Put UseAuthentication() and UseAuthorization() before UseRask<App>() so the page and its live socket
see the signed-in user.
Guides: getting started · live pages · routing
| 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. |
-
net10.0
- No dependencies.
-
net11.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Rask.Server:
| Package | Downloads |
|---|---|
|
Rask
The one reference a Rask application needs, server or browser. On a server target (net10.0 or net11.0) it brings the ASP.NET host plus every battery — database (SQLite, PostgreSQL or SQL Server, picked by Rask:Database:Provider), mediator, background jobs, transactional email, cache, file storage, outbox, operator dashboard, durable logs, Web Push, and SQLite snapshots and continuous backup — with RaskApp.Create(args) as the entry point. On a browser target it brings the WebAssembly host, the source-generated mediator, the query cache and remote dispatch. Everything referenced is wired and on; app.Configure(c => c.Jobs.Off()) is how an app does without one. Reference Rask.Server for a lean host with no database. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.23.1-alpha.0.46 | 0 | 9/23/2026 |
| 0.23.1-alpha.0.45 | 0 | 9/23/2026 |
| 0.23.1-alpha.0.43 | 0 | 9/23/2026 |
| 0.23.1-alpha.0.38 | 0 | 9/23/2026 |
| 0.23.1-alpha.0.36 | 0 | 9/23/2026 |
| 0.23.1-alpha.0.35 | 4 | 9/23/2026 |
| 0.23.1-alpha.0.34 | 3 | 9/23/2026 |
| 0.23.1-alpha.0.33 | 40 | 9/21/2026 |
| 0.23.1-alpha.0.30 | 41 | 9/21/2026 |
| 0.23.1-alpha.0.29 | 42 | 9/21/2026 |
| 0.23.1-alpha.0.28 | 47 | 9/21/2026 |
| 0.23.1-alpha.0.27 | 49 | 9/21/2026 |
| 0.23.1-alpha.0.26 | 43 | 9/21/2026 |
| 0.23.1-alpha.0.24 | 42 | 9/21/2026 |
| 0.23.1-alpha.0.23 | 45 | 9/21/2026 |
| 0.23.1-alpha.0.22 | 40 | 9/21/2026 |
| 0.23.1-alpha.0.21 | 51 | 9/21/2026 |
| 0.23.1-alpha.0.20 | 38 | 9/21/2026 |
| 0.23.1-alpha.0.18 | 50 | 9/21/2026 |
| 0.23.0 | 114 | 9/18/2026 |