AspireQuartz 1.0.1
dotnet add package AspireQuartz --version 1.0.1
NuGet\Install-Package AspireQuartz -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AspireQuartz" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AspireQuartz" Version="1.0.1" />
<PackageReference Include="AspireQuartz" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AspireQuartz --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AspireQuartz, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AspireQuartz@1.0.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AspireQuartz&version=1.0.1
#tool nuget:?package=AspireQuartz&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AspireQuartz
Client library for background job scheduling in .NET Aspire using Quartz.NET.
Installation
dotnet add package AspireQuartz
Quick Start
// In your API/Service
builder.Services.AddQuartzClient(builder.Configuration.GetConnectionString("quartzdb"));
// Enqueue a job
await jobClient.EnqueueAsync<SendEmailJob>(
new { email = "user@example.com" },
new JobOptions { IdempotencyKey = "email-123" });
// Schedule with delay
await jobClient.ScheduleAsync<SendEmailJob>(
new { email = "user@example.com" },
TimeSpan.FromMinutes(5));
// Schedule with cron
await jobClient.ScheduleAsync<SendEmailJob>(
new { email = "user@example.com" },
"0 0 9 * * ?"); // Every day at 9 AM
Features
- Enqueue jobs for immediate execution
- Schedule jobs with delay or cron expressions
- Idempotency support
- Retry policies with exponential/linear backoff
- OpenTelemetry distributed tracing
- SQL Server & PostgreSQL support
Documentation
Visit GitHub Repository for full documentation.
License
MIT License - See LICENSE
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- AspireQuartz.Abstractions (>= 1.0.1)
- Microsoft.Data.SqlClient (>= 6.1.4)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 9.0.0)
- Npgsql (>= 8.0.5)
- OpenTelemetry (>= 1.15.1)
- OpenTelemetry.Extensions.Hosting (>= 1.15.1)
- Quartz (>= 3.13.1)
- Quartz.Extensions.Hosting (>= 3.13.1)
- Quartz.Serialization.Json (>= 3.13.1)
-
net9.0
- AspireQuartz.Abstractions (>= 1.0.1)
- Microsoft.Data.SqlClient (>= 6.1.4)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 9.0.0)
- Npgsql (>= 8.0.5)
- OpenTelemetry (>= 1.15.1)
- OpenTelemetry.Extensions.Hosting (>= 1.15.1)
- Quartz (>= 3.13.1)
- Quartz.Extensions.Hosting (>= 3.13.1)
- Quartz.Serialization.Json (>= 3.13.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AspireQuartz:
| Package | Downloads |
|---|---|
|
AspireQuartz.Hosting
Hosting integration for .NET Aspire AppHost that provides Quartz.NET background job scheduling with persistent storage, automatic migrations, health checks, and OpenTelemetry metrics. Supports PostgreSQL, SQL Server, MySQL, and SQLite. |
GitHub repositories
This package is not used by any popular GitHub repositories.