Quartz.Extensions.DependencyInjection
3.22.0
Prefix Reserved
See the version list below for details.
dotnet add package Quartz.Extensions.DependencyInjection --version 3.22.0
NuGet\Install-Package Quartz.Extensions.DependencyInjection -Version 3.22.0
<PackageReference Include="Quartz.Extensions.DependencyInjection" Version="3.22.0" />
<PackageVersion Include="Quartz.Extensions.DependencyInjection" Version="3.22.0" />
<PackageReference Include="Quartz.Extensions.DependencyInjection" />
paket add Quartz.Extensions.DependencyInjection --version 3.22.0
#r "nuget: Quartz.Extensions.DependencyInjection, 3.22.0"
#:package Quartz.Extensions.DependencyInjection@3.22.0
#addin nuget:?package=Quartz.Extensions.DependencyInjection&version=3.22.0
#tool nuget:?package=Quartz.Extensions.DependencyInjection&version=3.22.0
Quartz.Extensions.DependencyInjection
Quartz.Extensions.DependencyInjection provides Microsoft Dependency Injection integration for Quartz.NET, wrapping the configuration properties with a strongly-typed API.
Note: Quartz 3.1 or later required.
Installation
dotnet add package Quartz.Extensions.DependencyInjection
Usage
Configure Quartz with AddQuartz. Configuration can come from code and/or the Quartz section of appsettings.json:
services.AddQuartz(q =>
{
var jobKey = new JobKey("awesome job", "awesome group");
q.AddJob<ExampleJob>(jobKey, j => j.WithDescription("my awesome job"));
q.AddTrigger(t => t
.ForJob(jobKey)
.WithIdentity("Cron Trigger")
.WithCronSchedule("0/3 * * * * ?"));
});
Read hierarchical JSON configuration with the IConfiguration overload:
services.AddQuartz(Configuration.GetSection("Quartz"), q =>
{
// additional code-based configuration
});
Note: As of Quartz.NET 3.7 all jobs are created as scoped and MS DI is configured by default — there is no need to call the
UseMicrosoftDependencyInjection*overloads. By default Quartz resolves the job type from the container, falling back toActivatorUtilities(the job should have a single public constructor).
Warning: With persistent job stores, always declare explicit job and trigger names so existence checks work correctly across application restarts.
Pair this with Quartz.Extensions.Hosting (or Quartz.AspNetCore) to manage the scheduler lifecycle, and see Multiple Schedulers for hosting several schedulers in one app.
Documentation
📖 Full documentation, including defining jobs and triggers in JSON: https://www.quartz-scheduler.net/documentation/quartz-3.x/packages/microsoft-di-integration.html
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Extensions.Configuration.Abstractions (>= 2.1.1)
- Microsoft.Extensions.Options (>= 2.1.1)
- Quartz (>= 3.22.0)
-
net10.0
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Options (>= 10.0.0)
- Quartz (>= 3.22.0)
-
net8.0
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.0)
- Quartz (>= 3.22.0)
-
net9.0
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- Quartz (>= 3.22.0)
NuGet packages (130)
Showing the top 5 NuGet packages that depend on Quartz.Extensions.DependencyInjection:
| Package | Downloads |
|---|---|
|
OpenIddict.Quartz
Quartz.NET integration package for OpenIddict. |
|
|
Elsa.Activities.Temporal.Quartz
Elsa is a set of workflow libraries and tools that enable lean and mean workflowing capabilities in any .NET Core application. This package provides a Quartz timer provider. |
|
|
Volo.Abp.Quartz
Package Description |
|
|
Aiwins.Rocket.Quartz
Package Description |
|
|
CucurbIT.Infrastructure.Jobs
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 4.3.0 | 2,663 | 9/29/2026 | |
| 4.2.4 | 249 | 9/29/2026 | |
| 4.2.3 | 642 | 9/28/2026 | |
| 4.2.2 | 1,505 | 9/28/2026 | |
| 4.2.1 | 713 | 9/27/2026 | |
| 4.2.0 | 1,532 | 9/25/2026 | |
| 4.1.1 | 10,811 | 9/19/2026 | |
| 4.1.0 | 11,614 | 9/13/2026 | |
| 4.0.1 | 7,755 | 9/8/2026 | |
| 3.22.3 | 4,544 | 9/29/2026 | |
| 3.22.2 | 1,371 | 9/28/2026 | |
| 3.22.1 | 928 | 9/28/2026 | |
| 3.22.0 | 74,106 | 9/13/2026 | |
| 3.21.0 | 27,272 | 9/9/2026 | |
| 3.20.1 | 83,950 | 9/3/2026 | |
| 3.20.0 | 156,816 | 8/27/2026 | |
| 3.19.1 | 821,340 | 7/26/2026 | |
| 3.19.0 | 44,984 | 7/24/2026 | |
| 3.18.2 | 878,178 | 6/27/2026 | |
| 3.18.1 | 2,211,512 | 4/25/2026 |