Rwx.Jobs.Persistence.EfCore
0.3.1
dotnet add package Rwx.Jobs.Persistence.EfCore --version 0.3.1
NuGet\Install-Package Rwx.Jobs.Persistence.EfCore -Version 0.3.1
<PackageReference Include="Rwx.Jobs.Persistence.EfCore" Version="0.3.1" />
<PackageVersion Include="Rwx.Jobs.Persistence.EfCore" Version="0.3.1" />
<PackageReference Include="Rwx.Jobs.Persistence.EfCore" />
paket add Rwx.Jobs.Persistence.EfCore --version 0.3.1
#r "nuget: Rwx.Jobs.Persistence.EfCore, 0.3.1"
#:package Rwx.Jobs.Persistence.EfCore@0.3.1
#addin nuget:?package=Rwx.Jobs.Persistence.EfCore&version=0.3.1
#tool nuget:?package=Rwx.Jobs.Persistence.EfCore&version=0.3.1
Rwx.Jobs.Persistence.EfCore
Entity Framework Core scheduler and job store for the Rwx durable-jobs runtime.
Install
dotnet add package Rwx.Jobs.Persistence.EfCore --version 0.1.0
Quick start
using Rwx.Jobs.Persistence.EfCore;
builder.Services.AddRwxJobs();
Add the scheduled-job entity configuration to the application's DbContext:
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.ApplyConfiguration(new ScheduledJobConfiguration());
}
AddRwxJobs() registers IJobScheduler and IJobStore as scoped services. The EF scheduler stages jobs with the ambient transaction; add Rwx.Jobs's AddRwxJobsWorker() in a worker/background host to execute due jobs and perform retention cleanup.
For module-based applications, depend on RwxJobsModule for storage and RwxJobsWorkerModule in the worker host.
Required composition rules
AddRwxJobs() persists schedules; it does not execute them. Apply ScheduledJobConfiguration in the context that owns the job rows and schedule work through IJobScheduler inside the ambient business transaction when atomic staging matters. Run the processor separately with AddRwxJobsWorker() and do not substitute in-memory timers for durable work.
| 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.EntityFrameworkCore (>= 10.0.9)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.9)
- 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 (>= 0.3.1)
- Rwx.Jobs.Abstractions (>= 0.3.1)
- Scrutor (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.