NexJob 6.2.0
See the version list below for details.
dotnet add package NexJob --version 6.2.0
NuGet\Install-Package NexJob -Version 6.2.0
<PackageReference Include="NexJob" Version="6.2.0" />
<PackageVersion Include="NexJob" Version="6.2.0" />
<PackageReference Include="NexJob" />
paket add NexJob --version 6.2.0
#r "nuget: NexJob, 6.2.0"
#:package NexJob@6.2.0
#addin nuget:?package=NexJob&version=6.2.0
#tool nuget:?package=NexJob&version=6.2.0
NexJob
Background jobs for .NET 8+. Predictable. Observable. No magic.
NexJob gives you reliable execution, retries with backoff, deadline enforcement and dead-letter handling, with a built-in dashboard and OpenTelemetry. If a job must run, fail safely and leave a trace, NexJob treats that as a first-class concern.
Installation
dotnet add package NexJob
NexJob ships with an in-memory storage, which is enough to try it out. For production, add a storage provider package (see below).
Quick Start
// 1. Register NexJob and scan for jobs
builder.Services.AddNexJob();
builder.Services.AddNexJobJobs(typeof(Program).Assembly);
// 2. Define a job
public sealed class SendInvoiceJob : IJob<SendInvoiceInput>
{
private readonly IEmailService _email;
public SendInvoiceJob(IEmailService email) => _email = email;
public async Task ExecuteAsync(SendInvoiceInput input, CancellationToken ct)
=> await _email.SendAsync(input.Email, "Your invoice", ct);
}
public sealed record SendInvoiceInput(string Email);
// 3. Enqueue from anywhere
var scheduler = app.Services.GetRequiredService<IScheduler>();
await scheduler.EnqueueAsync<SendInvoiceJob, SendInvoiceInput>(
new SendInvoiceInput("customer@example.com"),
deadlineAfter: TimeSpan.FromMinutes(5));
The job expires if it does not start within 5 minutes: no silent failures, no zombie jobs.
Add what you need
| Need | Package |
|---|---|
| Storage | NexJob.Postgres, NexJob.SqlServer, NexJob.Redis, NexJob.MongoDB |
| Dashboard | NexJob.Dashboard (ASP.NET Core), NexJob.Dashboard.Standalone (worker services) |
| Telemetry | NexJob.OpenTelemetry |
| Event triggers | NexJob.Kafka, NexJob.RabbitMQ, NexJob.Trigger.AwsSqs, NexJob.Trigger.AzureServiceBus, NexJob.Trigger.GooglePubSub, NexJob.Trigger.Salesforce, NexJob.Trigger.SalesforceStreaming |
| Roslyn Analyzers | Built directly into NexJob (real-time compile-time guardrails in IDE) |
Learn more
- Documentation: https://oluciano.github.io/NexJob/
- What happens when something fails: https://oluciano.github.io/NexJob/concepts/delivery-guarantees/
- Retries and dead-letter handling: https://oluciano.github.io/NexJob/concepts/retries-and-dead-letter/
- Protect a queue (circuit breaker, throttling): https://oluciano.github.io/NexJob/guides/circuit-breaker/
- Get alerts when a job fails for good: https://oluciano.github.io/NexJob/guides/alerts/
- Source, issues and full README: https://github.com/oluciano/NexJob
- Changelog: https://github.com/oluciano/NexJob/blob/main/CHANGELOG.md
Released under the MIT 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 was computed. 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. |
-
net8.0
- Cronos (>= 0.13.0)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Caching.Memory (>= 8.0.1)
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.3)
- System.Diagnostics.DiagnosticSource (>= 8.0.1)
- System.Text.Encodings.Web (>= 8.0.0)
NuGet packages (16)
Showing the top 5 NuGet packages that depend on NexJob:
| Package | Downloads |
|---|---|
|
NexJob.Dashboard
Blazor SSR dashboard middleware for NexJob — real-time monitoring of background jobs. |
|
|
NexJob.MongoDB
MongoDB storage provider for NexJob — the open-source background job scheduler for .NET 8+. |
|
|
NexJob.Postgres
PostgreSQL storage provider for NexJob — the open-source background job scheduler for .NET 8+. |
|
|
NexJob.SqlServer
SQL Server storage provider for NexJob. |
|
|
NexJob.Redis
Redis storage provider for NexJob. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 6.3.0 | 0 | 10/12/2026 |
| 6.2.1 | 62 | 10/11/2026 |
| 6.2.0 | 192 | 10/10/2026 |
| 6.1.0 | 148 | 10/10/2026 |
| 6.0.0 | 166 | 10/9/2026 |
| 5.10.0 | 164 | 10/8/2026 |
| 5.9.0 | 303 | 10/5/2026 |
| 5.8.0 | 328 | 10/4/2026 |
| 5.7.0 | 352 | 10/1/2026 |
| 5.6.2 | 303 | 10/1/2026 |
| 5.6.1 | 301 | 9/30/2026 |
| 5.6.0 | 290 | 9/30/2026 |
| 5.5.0 | 303 | 9/25/2026 |
| 5.4.1 | 289 | 9/24/2026 |
| 5.4.0 | 293 | 9/24/2026 |
| 5.3.0 | 300 | 9/21/2026 |
| 5.2.0 | 307 | 9/20/2026 |
| 5.1.0 | 314 | 9/17/2026 |
| 5.0.0 | 304 | 9/17/2026 |
| 0.0.0-alpha.0 | 122 | 9/17/2026 |