Quartz.Extensions.Hosting
3.12.0
Prefix Reserved
See the version list below for details.
dotnet add package Quartz.Extensions.Hosting --version 3.12.0
NuGet\Install-Package Quartz.Extensions.Hosting -Version 3.12.0
<PackageReference Include="Quartz.Extensions.Hosting" Version="3.12.0" />
paket add Quartz.Extensions.Hosting --version 3.12.0
#r "nuget: Quartz.Extensions.Hosting, 3.12.0"
// Install Quartz.Extensions.Hosting as a Cake Addin #addin nuget:?package=Quartz.Extensions.Hosting&version=3.12.0 // Install Quartz.Extensions.Hosting as a Cake Tool #tool nuget:?package=Quartz.Extensions.Hosting&version=3.12.0
Quartz.Extensions.Hosting provides integration with hosted services.
::: tip Quartz 3.2 or later required for Quartz.Extensions.Hosting. You can use package Quartz.AspNetCore with version 3.1. :::
Installation
You need to add NuGet package reference to your project which uses Quartz.
Quartz 3.1
Install-Package Quartz.AspNetCore
Quartz 3.2 onwards
Install-Package Quartz.Extensions.Hosting
Using
You can add Quartz configuration by invoking an extension method AddQuartzHostedService
on IServiceCollection
.
This will add a hosted quartz server into process that will be started and stopped based on applications lifetime.
::: tip See Quartz.Extensions.DependencyInjection documentation to learn more about configuring Quartz scheduler, jobs and triggers. :::
Example program utilizing hosted services configuration
public class Program
{
public static void Main(string[] args)
{
Log.Logger = new LoggerConfiguration()
.Enrich.FromLogContext()
.WriteTo.Console()
.CreateLogger();
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.UseSerilog()
.ConfigureServices((hostContext, services) =>
{
// see Quartz.Extensions.DependencyInjection documentation about how to configure different configuration aspects
services.AddQuartz(q =>
{
// your configuration here
});
// Quartz.Extensions.Hosting hosting
services.AddQuartzHostedService(options =>
{
// when shutting down we want jobs to complete gracefully
options.WaitForJobsToComplete = true;
});
});
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.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. |
-
.NETCoreApp 3.1
- Microsoft.Extensions.Hosting.Abstractions (>= 3.1.0)
- Quartz.Extensions.DependencyInjection (>= 3.12.0)
-
.NETStandard 2.0
- Microsoft.Extensions.Hosting.Abstractions (>= 2.1.1)
- Quartz.Extensions.DependencyInjection (>= 3.12.0)
-
net6.0
- Microsoft.Extensions.Hosting.Abstractions (>= 6.0.0)
- Quartz.Extensions.DependencyInjection (>= 3.12.0)
-
net8.0
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.0)
- Quartz.Extensions.DependencyInjection (>= 3.12.0)
NuGet packages (70)
Showing the top 5 NuGet packages that depend on Quartz.Extensions.Hosting:
Package | Downloads |
---|---|
Quartz.AspNetCore
Quartz.NET ASP.NET Core integration; Quartz Scheduling Framework for .NET |
|
MassTransit.Quartz
MassTransit Quartz.NET scheduler support; MassTransit provides a developer-focused, modern platform for creating distributed applications without complexity. |
|
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. |
|
Onion.Quartz
Package Description |
|
SeedBt.Library.Core
Package Description |
GitHub repositories (18)
Showing the top 5 popular GitHub repositories that depend on Quartz.Extensions.Hosting:
Repository | Stars |
---|---|
MassTransit/MassTransit
Distributed Application Framework for .NET
|
|
elsa-workflows/elsa-core
A .NET workflows library
|
|
openiddict/openiddict-core
Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
|
|
oskardudycz/EventSourcing.NetCore
Examples and Tutorials of Event Sourcing in .NET
|
|
CodeMazeBlog/CodeMazeGuides
The main repository for all the Code Maze guides
|
Version | Downloads | Last updated |
---|---|---|
3.13.1 | 180,507 | 11/2/2024 |
3.13.0 | 1,277,339 | 8/10/2024 |
3.12.0 | 166,874 | 8/3/2024 |
3.11.0 | 779,748 | 7/7/2024 |
3.10.0 | 212,150 | 6/26/2024 |
3.9.0 | 1,095,527 | 5/9/2024 |
3.8.1 | 1,891,476 | 2/17/2024 |
3.8.0 | 2,207,289 | 11/18/2023 |
3.7.0 | 2,096,159 | 8/4/2023 |
3.6.3 | 813,751 | 6/25/2023 |
3.6.2 | 2,981,161 | 2/25/2023 |
3.6.1 | 3,606 | 2/25/2023 |
3.6.0 | 701,712 | 1/29/2023 |
3.5.0 | 2,986,169 | 9/18/2022 |
3.4.0 | 3,718,969 | 3/27/2022 |
3.3.3 | 4,136,112 | 8/1/2021 |
3.3.2 | 1,095,723 | 4/9/2021 |
3.3.1 | 44,901 | 4/8/2021 |
3.3.0 | 15,308 | 4/7/2021 |
3.2.4 | 674,372 | 1/19/2021 |
3.2.3 | 589,959 | 10/31/2020 |
3.2.2 | 44,510 | 10/19/2020 |
3.2.1 | 10,924 | 10/18/2020 |
3.2.0 | 27,217 | 10/2/2020 |
1.0.0 | 25,204 | 5/30/2019 |