NexJob 5.6.2
See the version list below for details.
dotnet add package NexJob --version 5.6.2
NuGet\Install-Package NexJob -Version 5.6.2
<PackageReference Include="NexJob" Version="5.6.2" />
<PackageVersion Include="NexJob" Version="5.6.2" />
<PackageReference Include="NexJob" />
paket add NexJob --version 5.6.2
#r "nuget: NexJob, 5.6.2"
#:package NexJob@5.6.2
#addin nuget:?package=NexJob&version=5.6.2
#tool nuget:?package=NexJob&version=5.6.2
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.Redis
Redis storage provider for NexJob. |
|
|
NexJob.SqlServer
SQL Server storage provider for NexJob. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.9.0 | 157 | 10/5/2026 |
| 5.8.0 | 229 | 10/4/2026 |
| 5.7.0 | 287 | 10/1/2026 |
| 5.6.2 | 249 | 10/1/2026 |
| 5.6.1 | 265 | 9/30/2026 |
| 5.6.0 | 252 | 9/30/2026 |
| 5.5.0 | 295 | 9/25/2026 |
| 5.4.1 | 282 | 9/24/2026 |
| 5.4.0 | 286 | 9/24/2026 |
| 5.3.0 | 294 | 9/21/2026 |
| 5.2.0 | 300 | 9/20/2026 |
| 5.1.0 | 304 | 9/17/2026 |
| 5.0.0 | 294 | 9/17/2026 |
| 4.0.1 | 274 | 9/17/2026 |
| 4.0.0 | 343 | 4/21/2026 |
| 3.0.0 | 327 | 4/16/2026 |
| 2.0.0 | 225 | 4/14/2026 |
| 1.0.0 | 210 | 4/8/2026 |
| 0.8.0 | 203 | 4/8/2026 |
| 0.0.0-alpha.0 | 115 | 9/17/2026 |