NexJob 5.7.0

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

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

Released under the MIT license.

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

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
Loading failed