NexJob 5.7.0
dotnet add package NexJob --version 5.7.0
NuGet\Install-Package NexJob -Version 5.7.0
<PackageReference Include="NexJob" Version="5.7.0" />
<PackageVersion Include="NexJob" Version="5.7.0" />
<PackageReference Include="NexJob" />
paket add NexJob --version 5.7.0
#r "nuget: NexJob, 5.7.0"
#:package NexJob@5.7.0
#addin nuget:?package=NexJob&version=5.7.0
#tool nuget:?package=NexJob&version=5.7.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 |
Learn more
- Documentation: https://oluciano.github.io/NexJob/
- 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.8.4)
- 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 |
|---|---|---|
| 5.7.0 | 61 | 10/1/2026 |
| 5.6.2 | 89 | 10/1/2026 |
| 5.6.1 | 135 | 9/30/2026 |
| 5.6.0 | 121 | 9/30/2026 |
| 5.5.0 | 292 | 9/25/2026 |
| 5.4.1 | 279 | 9/24/2026 |
| 5.4.0 | 283 | 9/24/2026 |
| 5.3.0 | 291 | 9/21/2026 |
| 5.2.0 | 298 | 9/20/2026 |
| 5.1.0 | 303 | 9/17/2026 |
| 5.0.0 | 293 | 9/17/2026 |
| 4.0.1 | 272 | 9/17/2026 |
| 4.0.0 | 341 | 4/21/2026 |
| 3.0.0 | 326 | 4/16/2026 |
| 2.0.0 | 224 | 4/14/2026 |
| 1.0.0 | 209 | 4/8/2026 |
| 0.8.0 | 202 | 4/8/2026 |
| 0.7.0 | 206 | 4/7/2026 |
| 0.6.0 | 210 | 4/3/2026 |
| 0.0.0-alpha.0 | 113 | 9/17/2026 |