Skip to content

Installation

Terminal window
dotnet add package Surefire
dotnet add package Surefire.Dashboard
# Choose an optional storage provider:
dotnet add package Surefire.PostgreSql
dotnet add package Surefire.SqlServer
dotnet add package Surefire.Redis
dotnet add package Surefire.Sqlite

The core package includes an in-memory store that works out of the box for development.

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.