Skip to content

Installation

Terminal window
dotnet add package Surefire
dotnet add package Surefire.Dashboard

The core package ships with an in-memory store and notifications, which work out of the box but only within a single process. State is lost when the process stops.

For persistence or multi-process use, add a storage provider:

Terminal window
dotnet add package Surefire.PostgreSql
dotnet add package Surefire.SqlServer
dotnet add package Surefire.Sqlite
dotnet add package Surefire.Redis
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddSurefire();
var app = builder.Build();
app.AddJob("Hello", () => "Hello, World!");
app.MapSurefireDashboard();
app.Run();

Run the app and go to /surefire to see the dashboard.