Rwx.Jobs
0.3.1
dotnet add package Rwx.Jobs --version 0.3.1
NuGet\Install-Package Rwx.Jobs -Version 0.3.1
<PackageReference Include="Rwx.Jobs" Version="0.3.1" />
<PackageVersion Include="Rwx.Jobs" Version="0.3.1" />
<PackageReference Include="Rwx.Jobs" />
paket add Rwx.Jobs --version 0.3.1
#r "nuget: Rwx.Jobs, 0.3.1"
#:package Rwx.Jobs@0.3.1
#addin nuget:?package=Rwx.Jobs&version=0.3.1
#tool nuget:?package=Rwx.Jobs&version=0.3.1
Rwx.Jobs
Durable background-job processing contracts, hosted workers, configuration, and health checks for the Rwx framework.
Install
dotnet add package Rwx.Jobs --version 0.1.0
Quick start
Install Rwx.Jobs.Abstractions in projects that implement or schedule jobs. Pair this worker package with a store adapter such as Rwx.Jobs.Persistence.EfCore:
using Rwx.Jobs;
builder.Services.AddRwxJobsWorker(builder.Configuration);
builder.Services.AddHealthChecks()
.AddRwxJobsHealthCheck(builder.Configuration);
Jobs implement IDelayedJob<TData> and are scheduled through IJobScheduler:
public sealed class ExpireOrder : IDelayedJob<ExpireOrderData>
{
public Task ExecuteAsync(ExpireOrderData data, CancellationToken cancellationToken) => Task.CompletedTask;
}
await scheduler.ScheduleAsync<ExpireOrder, ExpireOrderData>(data, TimeSpan.FromMinutes(15), cancellationToken);
The Jobs configuration section controls polling, batches, retry limits, retention, and health-check thresholds. Use this package only in a worker/background host.
Boundaries
This package executes jobs but does not persist schedules; register an IJobStore adapter first. Job handlers must tolerate retry and restart, so make their side effects idempotent and keep their data contracts serializable and stable. An API can schedule jobs without running the worker.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.9)
- Microsoft.Extensions.DependencyInjection (>= 10.0.9)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.8)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Logging (>= 10.0.9)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.9)
- Rwx.Core (>= 0.3.1)
- Rwx.EventBus.Abstractions (>= 0.3.1)
- Rwx.Jobs.Abstractions (>= 0.3.1)
- Scrutor (>= 7.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Rwx.Jobs:
| Package | Downloads |
|---|---|
|
Rwx.Jobs.Persistence.EfCore
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.