Installation
Install the packages
Section titled “Install the packages”dotnet add package Surefiredotnet add package Surefire.Dashboard
# Choose an optional storage provider:dotnet add package Surefire.PostgreSqldotnet add package Surefire.SqlServerdotnet add package Surefire.Redisdotnet add package Surefire.SqliteThe core package includes an in-memory store that works out of the box for development.
Quick start
Section titled “Quick start”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.
Next steps
Section titled “Next steps”- Configuration covers all the options you can pass to
AddSurefire. - Jobs explains how to register and configure jobs.
- Storage providers: PostgreSQL, SQL Server, Redis, and SQLite.