DurableStack.Core
1.2.0
Prefix Reserved
dotnet add package DurableStack.Core --version 1.2.0
NuGet\Install-Package DurableStack.Core -Version 1.2.0
<PackageReference Include="DurableStack.Core" Version="1.2.0" />
<PackageVersion Include="DurableStack.Core" Version="1.2.0" />
<PackageReference Include="DurableStack.Core" />
paket add DurableStack.Core --version 1.2.0
#r "nuget: DurableStack.Core, 1.2.0"
#:package DurableStack.Core@1.2.0
#addin nuget:?package=DurableStack.Core&version=1.2.0
#tool nuget:?package=DurableStack.Core&version=1.2.0
DurableStack
DurableStack provides durable background and scheduled jobs backed by relational databases.
Supported target frameworks: net8.0, net9.0, net10.0.
Package selection
- Default quick start:
DurableStack.Hosting(bundle-style package that brings hosting/DI + relational provider packages) - Worker-host quick start:
DurableStack.Worker - Minimal/custom:
DurableStack.Core+ one provider package - In-memory only:
DurableStack.Core(in-memory support is built in)
Provider packages: DurableStack.Postgres, DurableStack.MySql, DurableStack.SqlServer, DurableStack.Sqlite.
Reliability defaults
- Lease-based claiming with heartbeat lease extension for active runs
- Lease-fenced completion writes (stale workers cannot overwrite the current owner)
- Retry scheduling with terminal failure when attempts are exhausted
- Graceful shutdown drain window for in-flight runs
Eventing and security defaults
- Hosted ingestion enables automatically when both
Eventing.TenantIdandEventing.ClientSecretare configured Eventing.IncludeErrorDetaildefaults tofalse(exception type is emitted, message/stack detail is redacted)Eventing.IngestionApiBaseUrlmust be absolute; non-loopback endpoints must usehttps
Runtime command control (v1.2.x)
When hosted eventing credentials are configured, runtime command sync is enabled by default.
Supported hosted commands:
- run schedule now
- pause schedule
- resume schedule
- update schedule cron and time zone
Useful options:
Eventing.RuntimeControlEnabled(defaulttrue)Eventing.RuntimeControlSyncIntervalSecondsEventing.RuntimeControlSyncPathEventing.RuntimeControlMaxReceiptUploadEventing.RuntimeControlCommandLeaseDurationSeconds
Job registration defaults
AddDurableStack(...)auto-discovers publicIDurableJobandIDurableJob<TArgs>classes from the app assembly- Default job name: class name
- Default max attempts:
3 - Add
[RecurringJob("...")]to schedule recurring jobs - Without
[RecurringJob], jobs are enqueue-only
Repository and docs
- Repository: https://github.com/durablestackhq/durablestack-dotnet
- Docs: https://docs.durablestack.com/docs/latest/dotnet
- Quickstart: https://docs.durablestack.com/docs/latest/dotnet/quickstart
- Runtime command control: https://docs.durablestack.com/docs/latest/dotnet/usage-guide/runtime-command-control
| 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 is compatible. 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 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
- Cronos (>= 0.11.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- TimeZoneConverter (>= 7.2.0)
-
net8.0
- Cronos (>= 0.11.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- TimeZoneConverter (>= 7.2.0)
-
net9.0
- Cronos (>= 0.11.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- TimeZoneConverter (>= 7.2.0)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on DurableStack.Core:
| Package | Downloads |
|---|---|
|
DurableStack.Sqlite
SQLite provider for DurableStack durable job storage and claiming. |
|
|
DurableStack.Postgres
PostgreSQL provider for DurableStack durable job storage and claiming. |
|
|
DurableStack.MySql
MySQL provider for DurableStack durable job storage and claiming. |
|
|
DurableStack.SqlServer
SQL Server provider for DurableStack durable job storage and claiming. |
|
|
DurableStack.Hosting
Generic hosting and dependency injection integration for DurableStack. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.0 | 367 | 8/1/2026 |
| 1.2.0-rc.1 | 116 | 8/1/2026 |
| 1.1.1 | 255 | 7/13/2026 |
| 1.1.0-rc.2 | 111 | 7/13/2026 |
| 1.0.1 | 215 | 7/3/2026 |
| 1.0.0-rc.1 | 112 | 6/28/2026 |
| 0.1.0-beta.12 | 135 | 6/19/2026 |
| 0.1.0-beta.11 | 108 | 6/19/2026 |
| 0.1.0-beta.10 | 120 | 6/19/2026 |
| 0.1.0-beta.9 | 124 | 6/16/2026 |
| 0.1.0-beta.8 | 170 | 6/15/2026 |
| 0.1.0-beta.7 | 111 | 6/13/2026 |
| 0.1.0-beta.6 | 160 | 6/2/2026 |
| 0.1.0-beta.5 | 110 | 5/31/2026 |
| 0.1.0-beta.4 | 96 | 5/31/2026 |
| 0.1.0-beta.3 | 124 | 5/29/2026 |
| 0.1.0-beta.2 | 110 | 5/28/2026 |
| 0.0.1-alpha.1 | 112 | 5/28/2026 |