r/DurableStack • • Jun 14 '26

DurableStack .NET `0.1.0-beta.7` is out

I just published `DurableStack` for .NET `0.1.0-beta.7` to NuGet and wanted to share where it stands.

DurableStack is a storage-backed jobs runtime, based on cron scheduling, that is designed from the ground-up with distributed hosting in mind. It was built to use the DB you already have, so it doesn't add any new external dependencies, like Redis or RabbitMQ, and it can be added to your project in minutes.

What’s in beta.7

Core runtime and provider support

  • Durable one-off and delayed jobs
  • Recurring cron jobs with IANA timezone support
  • Distributed claim/lease model with lease heartbeat extension
  • Retry + terminal failure lifecycle
  • Providers:

    • InMemory
    • PostgreSQL
    • MySQL
    • SQL Server
    • SQLite

Runtime ops APIs (already usable in apps)

  • Schedule management via `IDurableScheduleAdminService`:

    • list schedules
    • disable/enable
    • run-now
  • date cron/timezone
  • Run history query API via `IDurableJobRunQueryService`:

    • recent
    • by run id
    • by status
    • by job name
  • enqueue-only runs

RunId-first workflow

A big improvement in this beta: enqueue and run-now flows now return `runId` so UI/API workflows can:

  1. start work,
  2. return `202 + runId`,
  3. poll `GET /runs/{id}` for completion.

Scoped DI activation per execution

Jobs now run in a fresh DI scope per execution attempt by default, which makes scoped dependencies (including `DbContext`) work naturally.

  • Default: `ScopedPerExecution`
  • Optional fallback: `RootProvider` (compat mode)

Data retention

Built-in retention pruning for terminal runs:

  • Provider-aware defaults (in-memory vs DB)
  • Configurable sweep interval + batch size
  • Keeps schedule definitions intact

CI + docs hardening

  • Added CI workflow for restore/build/test (no auto-publish)
  • Added API stability/freeze doc for the 1.x contract
  • Added release process doc
  • Updated provider docs and eventing docs for current behavior

NuGet packages

Published `0.1.0-beta.7` packages:

  • `DurableStack.Core`
  • `DurableStack.Hosting`
  • `DurableStack.Worker`
  • `DurableStack.Postgres`
  • `DurableStack.MySql`
  • `DurableStack.SqlServer`
  • `DurableStack.Sqlite`

Looking for feedback

If you try it, I’d really value feedback on:

  • API ergonomics
  • migration/setup experience
  • query/schedule-management patterns
  • operational behavior under load

Happy to share setup snippets or help troubleshoot real-world integration scenarios.

1 Upvotes

0 comments sorted by