Rask.Server 0.23.1-alpha.0.82

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

Rask.Server

The ASP.NET Core host for Rask, a full-stack .NET web framework for teams of any size — with every battery. 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.

  • Batteries included, all on: a database (SQLite by default; PostgreSQL or SQL Server by Rask:Database:Provider), the mediator and query cache, accounts, background jobs, transactional email, cache, file storage, the outbox, an operator dashboard at /_rask, durable logs, Web Push, SQLite snapshots and continuous backup. Referencing this package is what turns them on.
  • Depends on Rask, the shared core (components, the chain, routing, forms, scoped CSS/TypeScript, the generators) and on the Rask.Ui kit.
  • Event handlers, data access and secrets stay on the server; the browser receives HTML and diffs.
  • Settings bind from appsettings.json under Rask: (Rask:Server, Rask:Mail, Rask:Database, …).

Install

dotnet add package Rask.Server

Or scaffold a complete app with the CLI — rask new Shop — see installation.

Use

// Program.cs — the whole file
RaskApp.Create(args).Run<App>();

The file says only what this app does without, or configures differently:

var app = RaskApp.Create(args);

app.Configure(c =>
{
    c.Jobs.Off();                                            // no background work here
    c.Mail.Configure(o => o.From = "no-reply@example.com");
});

app.Run<App>();
[Route("/")]
public sealed partial class Home : Component
{
    int _count;

    protected override Component? Render() =>
        Div[
            H1["Hello, Rask"],
            Button.OnClick(() => _count++)[$"Clicked {_count} times"]
        ];
}

RaskApp wraps WebApplicationBuilder rather than replacing it: app.Services is the same collection, and AddRask() / MapRask<App>() stay public for a host assembled by hand.

Guides: getting started · live pages · routing · configuration

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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.23.1-alpha.0.84 23 9/25/2026
0.23.1-alpha.0.82 0 9/25/2026
0.23.1-alpha.0.81 14 9/25/2026
0.23.1-alpha.0.80 21 9/25/2026
0.23.1-alpha.0.79 25 9/25/2026
0.23.1-alpha.0.78 19 9/25/2026
0.23.1-alpha.0.76 31 9/25/2026
0.23.1-alpha.0.74 24 9/25/2026
0.23.1-alpha.0.72 42 9/25/2026
0.23.1-alpha.0.70 29 9/25/2026
0.23.1-alpha.0.69 35 9/25/2026
0.23.1-alpha.0.68 32 9/25/2026
0.23.1-alpha.0.67 41 9/25/2026
0.23.1-alpha.0.66 30 9/24/2026
0.23.1-alpha.0.65 34 9/24/2026
0.23.1-alpha.0.64 26 9/24/2026
0.23.1-alpha.0.62 25 9/24/2026
0.23.1-alpha.0.61 34 9/24/2026
0.23.1-alpha.0.50 34 9/24/2026
0.23.0 154 9/18/2026
Loading failed