Quartz.Aspire.Hosting 4.8.1

Prefix Reserved
dotnet add package Quartz.Aspire.Hosting --version 4.8.1
                    
NuGet\Install-Package Quartz.Aspire.Hosting -Version 4.8.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="Quartz.Aspire.Hosting" Version="4.8.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Quartz.Aspire.Hosting" Version="4.8.1" />
                    
Directory.Packages.props
<PackageReference Include="Quartz.Aspire.Hosting" />
                    
Project file
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 Quartz.Aspire.Hosting --version 4.8.1
                    
#r "nuget: Quartz.Aspire.Hosting, 4.8.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 Quartz.Aspire.Hosting@4.8.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=Quartz.Aspire.Hosting&version=4.8.1
                    
Install as a Cake Addin
#tool nuget:?package=Quartz.Aspire.Hosting&version=4.8.1
                    
Install as a Cake Tool

Quartz.Aspire.Hosting

The Quartz.NET dashboard as an Aspire AppHost resource. One call runs the dashboard's container image beside your workers; WithAttachedStore shows every scheduler in a database, and WithReference(dashboard) dials a worker in as an agent.

Installation

In the AppHost project:

dotnet add package Quartz.Aspire.Hosting

Usage

var builder = DistributedApplication.CreateBuilder(args);

var quartzDb = builder.AddPostgres("postgres").AddDatabase("quartz");

var dashboard = builder.AddQuartzDashboard("quartz-dashboard")
    .WithAttachedStore(quartzDb);

builder.AddProject<Projects.Orders_Worker>("orders")
    .WithReference(quartzDb)
    .WithReference(dashboard);

builder.Build().Run();

The worker calls UseDashboardAgent() from Quartz.Dashboard.Agent, which reads what WithReference(dashboard) sets. The resource's URL in the Aspire dashboard signs you in as an administrator.

  • The image is ghcr.io/quartznet/quartz-dashboard at this package's version; WithImageTag runs another.
  • The sign-in and agent tokens are generated secret parameters, kept in the AppHost's user secrets.
  • Run one replica of the dashboard.

Every setting, and the environment variables the resource writes: Aspire Hosting.

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.8.1 49 11/21/2026
4.8.0 51 11/21/2026