Quartz.Extensions.DependencyInjection
3.18.2
Prefix Reserved
dotnet add package Quartz.Extensions.DependencyInjection --version 3.18.2
NuGet\Install-Package Quartz.Extensions.DependencyInjection -Version 3.18.2
<PackageReference Include="Quartz.Extensions.DependencyInjection" Version="3.18.2" />
<PackageVersion Include="Quartz.Extensions.DependencyInjection" Version="3.18.2" />
<PackageReference Include="Quartz.Extensions.DependencyInjection" />
paket add Quartz.Extensions.DependencyInjection --version 3.18.2
#r "nuget: Quartz.Extensions.DependencyInjection, 3.18.2"
#:package Quartz.Extensions.DependencyInjection@3.18.2
#addin nuget:?package=Quartz.Extensions.DependencyInjection&version=3.18.2
#tool nuget:?package=Quartz.Extensions.DependencyInjection&version=3.18.2
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.18.2)
-
net10.0
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Options (>= 10.0.0)
- Quartz (>= 3.18.2)
-
net8.0
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.0)
- Quartz (>= 3.18.2)
-
net9.0
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- Quartz (>= 3.18.2)
NuGet packages (123)
Showing the top 5 NuGet packages that depend on Quartz.Extensions.DependencyInjection:
| Package | Downloads |
|---|---|
|
Quartz.Extensions.Hosting
Quartz.NET Generic Host integration; Quartz Scheduling Framework for .NET |
|
|
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 |
GitHub repositories (21)
Showing the top 20 popular GitHub repositories that depend on Quartz.Extensions.DependencyInjection:
| Repository | Stars |
|---|---|
|
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
|
|
|
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
|
|
|
openiddict/openiddict-core
Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
|
|
|
Jeric-X/SyncClipboard
跨平台剪贴板同步、历史记录管理工具 / Cross-platform cipboard syncing, history management tool
|
|
|
dotnetcore/Util
Util是一个.Net平台下的应用框架,旨在提升中小团队的开发能力,由工具类、分层架构基类、Ui组件,配套代码生成模板,权限等组成。
|
|
|
oskardudycz/EventSourcing.NetCore
Examples and Tutorials of Event Sourcing in .NET
|
|
|
BrighterCommand/Brighter
A framework for building messaging apps with .NET and C#.
|
|
|
Cleanuparr/Cleanuparr
Advanced download manager for the Servarr ecosystem
|
|
|
Reloaded-Project/Reloaded-II
Universal .NET Core Powered Modding Framework for any Native Game X86, X64.
|
|
|
mixcore/mix.core
🚀 A future-proof enterprise web CMS supporting both headless and decoupled approaches. Build any type of app with customizable APIs on ASP.NET Core/.NET Core. Completely open-source and designed for flexibility. Since 2018.
|
|
|
SnapHutaoRemasteringProject/Snap.Hutao.Remastered
实用的开源多功能原神工具箱 🧰 / Multifunctional Open-source Genshin Impact Toolkit 🧰
|
|
|
guoming/Hummingbird
分布式锁,分布式ID,分布式消息队列、配置中心、注册中心、服务注册发现、超时、重试、熔断、负载均衡
|
|
|
lithnet/access-manager
Access Manager provides web-based access to local admin (LAPS) passwords, BitLocker recovery keys, and just-in-time administrative access to Windows computers in a modern, secure, and user-friendly way.
|
|
|
lminlone/repliqate
A modular Docker container/volume backup solution
|
|
|
jianzhichu/dysync.net
视频同步工具
|
|
|
Altinn/altinn-studio
Next generation open source Altinn platform and applications.
|
|
|
pridejoy/MalusAdmin
海棠后台管理系统,基于Net7+Vue3+Soybean 开发的前后端分离式权限管理系统,采用最原生最简洁的方式来实现, 前端清新优雅高颜值,后端 结构清晰,优雅易懂,功能强大,提供快速开发的解决方案。
|
|
|
marinasundstrom/YourBrand
Prototype enterprise system for e-commerce and consulting services
|
|
|
HeBianGu/WPF-Control
WPF-Control 是一个基于 .NET 8+ 的高性能 WPF 控件库,提供丰富的轻量级 UI 组件、多套现代化 皮肤主题,并整合了精选的 第三方开源控件,同时内置 数据库仓储模型 和 模块化封装 的通用功能,包含完整桌面应用程序的解决方案,适用于企业级应用开发,帮助开发者快速构建高效、美观的桌面应用程序。
|
|
|
wangdage12/Snap.Hutao
「新」稳定版胡桃工具箱
|
| Version | Downloads | Last Updated |
|---|---|---|
| 3.18.2 | 256 | 6/27/2026 |
| 3.18.1 | 1,020,868 | 4/25/2026 |
| 3.18.0 | 330,239 | 4/11/2026 |
| 3.17.1 | 189,828 | 4/3/2026 |
| 3.17.0 | 254,447 | 3/29/2026 |
| 3.16.1 | 898,506 | 3/4/2026 |
| 3.16.0 | 1,681,401 | 3/1/2026 |
| 3.15.1 | 4,636,454 | 10/26/2025 |
| 3.15.0 | 2,952,328 | 8/3/2025 |
| 3.14.0 | 6,846,235 | 3/8/2025 |
| 3.13.1 | 10,427,223 | 11/2/2024 |
| 3.13.0 | 4,424,213 | 8/10/2024 |
| 3.12.0 | 501,046 | 8/3/2024 |
| 3.11.0 | 1,413,710 | 7/7/2024 |
| 3.10.0 | 461,584 | 6/26/2024 |
| 3.9.0 | 2,319,313 | 5/9/2024 |
| 3.8.1 | 3,789,255 | 2/17/2024 |
| 3.8.0 | 4,109,985 | 11/18/2023 |
| 3.7.0 | 3,218,554 | 8/4/2023 |
| 3.6.3 | 1,240,271 | 6/25/2023 |