Quartz.AspNetCore 4.0.0
Quartz.AspNetCore
Quartz.AspNetCore adds what a Quartz.NET scheduler wants from an ASP.NET Core application: an HTTP API that exposes scheduler management endpoints.
Hosting and the scheduler's health check are both in the core
Quartz package — AddQuartz, AddQuartzHostedService and
the health check need no extra reference. This package brings ASP.NET Core along with it, so take
it for the HTTP API rather than for the check. Quartz 3's AddQuartzServer, which registered the hosted
service and a health check together, is gone.
Installation
dotnet add package Quartz.AspNetCore
Usage
WebApplicationBuilder builder = WebApplication.CreateBuilder(args);
builder.AddQuartz();
builder.Services.AddQuartzHttpApi();
builder.AddQuartzHostedService(options => options.WaitForJobsToComplete = true);
builder.Services.AddHealthChecks().AddQuartz();
WebApplication app = builder.Build();
app.MapQuartzHttpApi().RequireAuthorization();
app.MapHealthChecks("/healthz");
The API manages jobs and triggers, so authorize it: MapQuartzHttpApi returns the endpoint convention
builder to say so on, and a mapping that says nothing refuses to start. It adds no authentication of its
own, every route mutates, and a job scheduled through it names its type as a string the request supplies
— which, with Quartz.Jobs on the host's probing path, reaches NativeJob and its process. Say
AllowAnonymous() where you mean it. AddQuartz and the health check beside it come from the core
package; serving the health report at /healthz is what needs ASP.NET Core.
Documentation
No packages depend on Quartz.AspNetCore.
.NET 10.0
- Quartz (>= 4.0.0)
| Version | Downloads | Last updated |
|---|---|---|
| 4.1.0 | 0 | 09/13/2026 |
| 4.0.1 | 5 | 09/10/2026 |
| 4.0.0 | 7 | 09/04/2026 |
| 4.0.0-rc.2 | 7 | 09/04/2026 |
| 4.0.0-rc.1 | 5 | 09/04/2026 |
| 4.0.0-beta.1 | 6 | 09/04/2026 |
| 4.0.0-alpha.5 | 6 | 09/01/2026 |
| 4.0.0-alpha.4 | 5 | 09/03/2026 |
| 4.0.0-alpha.3 | 9 | 08/27/2026 |
| 4.0.0-alpha.2 | 7 | 08/25/2026 |
| 4.0.0-alpha.1 | 9 | 08/23/2026 |
| 3.22.0 | 0 | 09/13/2026 |
| 3.21.0 | 4 | 09/11/2026 |
| 3.20.1 | 6 | 09/04/2026 |
| 3.20.0 | 9 | 08/28/2026 |
| 3.19.1 | 22 | 07/28/2026 |
| 3.19.0 | 16 | 07/24/2026 |
| 3.18.2 | 27 | 06/28/2026 |
| 3.18.1 | 43 | 04/27/2026 |
| 3.18.0 | 48 | 04/17/2026 |
| 3.17.1 | 38 | 04/17/2026 |
| 3.17.0 | 39 | 04/17/2026 |
| 3.16.1 | 38 | 04/17/2026 |
| 3.16.0 | 37 | 04/17/2026 |
| 3.15.1 | 37 | 04/17/2026 |
| 3.15.0 | 36 | 04/17/2026 |
| 3.14.0 | 37 | 04/17/2026 |
| 3.13.1 | 31 | 04/17/2026 |
| 3.13.0 | 40 | 04/17/2026 |
| 3.12.0 | 37 | 04/17/2026 |
| 3.11.0 | 37 | 04/17/2026 |
| 3.10.0 | 34 | 04/17/2026 |
| 3.9.0 | 38 | 04/17/2026 |
| 3.8.1 | 40 | 04/17/2026 |
| 3.8.0 | 30 | 04/17/2026 |
| 3.7.0 | 39 | 04/17/2026 |
| 3.6.3 | 41 | 04/17/2026 |
| 3.6.2 | 40 | 04/17/2026 |
| 3.6.1 | 26 | 04/17/2026 |
| 3.6.0 | 37 | 04/17/2026 |
| 3.5.0 | 36 | 04/17/2026 |
| 3.4.0 | 29 | 04/17/2026 |
| 3.3.3 | 36 | 04/17/2026 |
| 3.3.2 | 38 | 04/17/2026 |
| 3.3.1 | 38 | 04/17/2026 |
| 3.3.0 | 30 | 04/17/2026 |
| 3.2.4 | 38 | 04/17/2026 |
| 3.2.3 | 39 | 04/17/2026 |
| 3.2.2 | 36 | 04/17/2026 |
| 3.2.1 | 39 | 04/17/2026 |
| 3.2.0 | 37 | 04/17/2026 |
| 3.1.0 | 41 | 04/17/2026 |
| 1.0.4 | 41 | 04/17/2026 |
| 1.0.1 | 37 | 04/17/2026 |
| 1.0.0 | 42 | 04/17/2026 |