![]() |
VOOZH | about |
dotnet add package ZeroAlloc.Scheduling.Dashboard.Blazor --version 1.0.1
NuGet\Install-Package ZeroAlloc.Scheduling.Dashboard.Blazor -Version 1.0.1
<PackageReference Include="ZeroAlloc.Scheduling.Dashboard.Blazor" Version="1.0.1" />
<PackageVersion Include="ZeroAlloc.Scheduling.Dashboard.Blazor" Version="1.0.1" />Directory.Packages.props
<PackageReference Include="ZeroAlloc.Scheduling.Dashboard.Blazor" />Project file
paket add ZeroAlloc.Scheduling.Dashboard.Blazor --version 1.0.1
#r "nuget: ZeroAlloc.Scheduling.Dashboard.Blazor, 1.0.1"
#:package ZeroAlloc.Scheduling.Dashboard.Blazor@1.0.1
#addin nuget:?package=ZeroAlloc.Scheduling.Dashboard.Blazor&version=1.0.1Install as a Cake Addin
#tool nuget:?package=ZeroAlloc.Scheduling.Dashboard.Blazor&version=1.0.1Install as a Cake Tool
👁 NuGet
👁 Build
👁 GitHub Sponsors
ZeroAlloc.Scheduling is a source-generated background job scheduler for .NET 8 and .NET 10. Decorate any class with [Job] and the source generator wires up the executor, DI registration, and recurring startup automatically — no reflection, no convention scanning at runtime.
dotnet add package ZeroAlloc.Scheduling
dotnet add package ZeroAlloc.Scheduling.InMemory # or EfCore / Redis
The generator package must be added as an analyzer:
<PackageReference Include="ZeroAlloc.Scheduling.Generator" Version="*" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
// 1. Define a job — the generator picks it up automatically
[Job(Every = Every.Hour)]
public sealed class CleanupExpiredSessionsJob : IJob
{
private readonly ISessionRepository _repo;
public CleanupExpiredSessionsJob(ISessionRepository repo) => _repo = repo;
public async ValueTask ExecuteAsync(JobContext ctx, CancellationToken ct)
=> await _repo.DeleteExpiredAsync(ct);
}
// 2. Register — generated AddCleanupExpiredSessionsJob() wires executor + recurring startup
services.AddScheduling()
.WithInMemoryStore()
.AddCleanupExpiredSessionsJob();
// 3. Enqueue a one-off job from application code
public class OrderService(IScheduler scheduler)
{
public async Task CompleteOrderAsync(Order order, CancellationToken ct)
{
await ProcessAsync(order, ct);
await scheduler.EnqueueAsync(new SendOrderConfirmationJob(order.Id), ct);
}
}
[Job] on a class emits a typed executor, DI extension method, and optional recurring startup (IHostedService)[Job(Cron = "0 * * * *")] or [Job(Every = Every.Hour)] — scheduled via Cronos at startupMaxAttempts (per-job or global); dead-letters after exhaustionapp.MapJobsDashboard("/jobs")<JobsDashboard> Razor component for integration into Blazor apps[Job] + IRequest<Unit> auto-registers MediatorJobTypeExecutor<T>, routing execution through ZeroAlloc.Mediator pipeline behaviorsAn embedded HTML/JS dashboard — summary cards for each job state, a live-refreshing table with per-row requeue / delete actions, and fully responsive down to mobile widths.
app.MapJobsDashboard("/jobs");
// Optional: protect with auth
app.MapJobsDashboard("/jobs").RequireAuthorization("AdminPolicy");
Tablet (768 × 1024) and mobile (375 × 812) captures live in .
See for the full endpoint reference and the Blazor component.
| Package | Description |
|---|---|
ZeroAlloc.Scheduling |
Core interfaces, worker service, scheduler |
ZeroAlloc.Scheduling.Generator |
Source generator (analyzer reference) |
ZeroAlloc.Scheduling.InMemory |
In-process store for development and testing |
ZeroAlloc.Scheduling.EfCore |
EF Core store (SQL Server, PostgreSQL, SQLite) |
ZeroAlloc.Scheduling.Redis |
Redis store for distributed deployments |
ZeroAlloc.Scheduling.Dashboard |
Embedded HTML dashboard (MapJobsDashboard) |
ZeroAlloc.Scheduling.Dashboard.Blazor |
Blazor component library |
ZeroAlloc.Scheduling.Mediator |
ZeroAlloc.Mediator bridge |
| Page | Description |
|---|---|
| Install and schedule your first job in five minutes | |
[Job], Every, Cron, generated extension methods |
|
| InMemory, EF Core, and Redis store configuration | |
| Embedded HTML dashboard and Blazor component | |
| Route job execution through ZeroAlloc.Mediator | |
| ZASCH001 compiler warning reference | |
| Throughput, allocation profile, and tuning guide |
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.0 | 95 | 5/14/2026 |
| 1.1.4 | 95 | 5/12/2026 |
| 1.1.3 | 102 | 5/7/2026 |
| 1.1.2 | 97 | 5/6/2026 |
| 1.1.1 | 93 | 5/3/2026 |
| 1.1.0 | 105 | 5/1/2026 |
| 1.0.4 | 95 | 5/1/2026 |
| 1.0.3 | 100 | 4/30/2026 |
| 1.0.2 | 104 | 4/29/2026 |
| 1.0.1 | 102 | 4/29/2026 |
| 1.0.0 | 96 | 4/28/2026 |
| 0.3.1 | 104 | 4/28/2026 |
| 0.3.0 | 102 | 4/28/2026 |
| 0.2.2 | 100 | 4/28/2026 |
| 0.2.1 | 107 | 4/26/2026 |
| 0.2.0 | 104 | 4/26/2026 |
| 0.1.6 | 110 | 4/25/2026 |
| 0.1.5 | 103 | 4/25/2026 |
| 0.1.4 | 112 | 4/24/2026 |
| 0.1.3 | 106 | 4/23/2026 |