Stratara.EventSourcing.WorkerDefaults
4.4.10
Prefix Reserved
See the version list below for details.
dotnet add package Stratara.EventSourcing.WorkerDefaults --version 4.4.10
NuGet\Install-Package Stratara.EventSourcing.WorkerDefaults -Version 4.4.10
<PackageReference Include="Stratara.EventSourcing.WorkerDefaults" Version="4.4.10" />
<PackageVersion Include="Stratara.EventSourcing.WorkerDefaults" Version="4.4.10" />
<PackageReference Include="Stratara.EventSourcing.WorkerDefaults" />
paket add Stratara.EventSourcing.WorkerDefaults --version 4.4.10
#r "nuget: Stratara.EventSourcing.WorkerDefaults, 4.4.10"
#:package Stratara.EventSourcing.WorkerDefaults@4.4.10
#addin nuget:?package=Stratara.EventSourcing.WorkerDefaults&version=4.4.10
#tool nuget:?package=Stratara.EventSourcing.WorkerDefaults&version=4.4.10
Stratara.EventSourcing.WorkerDefaults
Derived. The behaviour described here is specified under
openspec/specs/. Those specifications are the source; this page explains and illustrates them.
License: MIT.
One-stop IHostApplicationBuilder composites that wire together the Stratara event-sourced stack for each host shape (API, command worker, event-projection worker, saga worker, event-stream-hash worker, outbox worker). Reference this package from each host instead of repeating the per-concern DI call chain.
What's in the box
| Composite | Wires |
|---|---|
AddBackendServices |
Common framework services (messaging, identity, session, security, mapping, resilience) + mediator + write store + outbox dispatcher. For API hosts that dispatch commands but don't process them. |
AddCommandWorkerServices |
AddCommandServices + mediator-worker (hosted service that consumes the command topic into the in-process mediator). |
AddCommandServices |
Common + mediator + write store + event sourcing + outbox dispatcher, without the mediator worker. For command silos of the Orleans execution model. |
AddEventProjectionWorkerServices |
Common + write store + projection-replay state + projection worker. |
AddEventProjectionServices |
The same without the bus-fed projection worker. |
AddSagaWorkerServices |
Common + write store + event sourcing + outbox dispatcher + saga worker. |
AddSagaServices |
The same without the bus-fed saga worker. |
AddEventStreamHashWorkerServices |
Common + write store + event-stream-hashing worker. |
AddOutboxWorkerServices |
Common + write store + outbox dispatcher + outbox-retry worker. |
The composites live in the Microsoft.Extensions.Hosting namespace so call sites read naturally:
// Command-handling worker host:
builder.AddCommandWorkerServices();
// API host that only dispatches commands:
builder.AddBackendServices();
Dependencies
This package pulls the framework's Tier-C pieces (Stratara.Infrastructure, Stratara.Outbox.RabbitMQ, Stratara.Projections, Stratara.Sagas, Stratara.EventSourcing.EntityFrameworkCore) so a single PackageReference is enough for a worker host. The lean Stratara.ServiceDefaults (OTel + Serilog) and Stratara.ServiceDefaults.AspNetCore (health-check endpoints + ASP.NET OTel) stay separate so non-worker hosts don't drag the Tier-C runtime in.
| 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
- Stratara.EventSourcing.EntityFrameworkCore (>= 4.4.10)
- Stratara.Infrastructure (>= 4.4.10)
- Stratara.Outbox.RabbitMQ (>= 4.4.10)
- Stratara.Projections (>= 4.4.10)
- Stratara.Sagas (>= 4.4.10)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.8.0 | 107 | 11/6/2026 |
| 4.7.1 | 106 | 11/5/2026 |
| 4.7.0 | 421 | 10/30/2026 |
| 4.6.1 | 97 | 10/29/2026 |
| 4.6.0 | 166 | 10/28/2026 |
| 4.5.0 | 255 | 10/28/2026 |
| 4.4.10 | 205 | 10/26/2026 |
| 4.4.9 | 106 | 10/26/2026 |
| 4.4.8 | 254 | 10/24/2026 |
| 4.4.7 | 114 | 10/23/2026 |
| 4.4.6 | 214 | 10/22/2026 |
| 4.4.5 | 288 | 10/14/2026 |
| 4.4.4 | 292 | 10/10/2026 |
| 4.4.3 | 124 | 10/10/2026 |
| 4.4.2 | 390 | 10/2/2026 |
| 4.4.1 | 371 | 9/29/2026 |
| 4.4.0 | 149 | 9/27/2026 |
| 4.3.1 | 144 | 9/25/2026 |
| 4.3.0 | 304 | 9/23/2026 |
| 4.2.0 | 191 | 9/18/2026 |
A release for hosts on the Orleans execution model. A durable timer now answers its tick while its handler runs, so a
long handler leaves no reminder error in the silo's log, and a timer that fails is logged by the framework with its
owner and purpose. A commit no longer constructs every registered projection to learn which store readers to wake. No
API change, no schema change and no migration.
### Changed
- **A commit no longer constructs every projection.** On the Orleans execution model, every command that committed
facts constructed each registered projection, with its dependencies, only to learn the names of the store readers to
wake. The names are now worked out once per silo, and the wait for a projection, the rebuild and the full replay's
checkpoint reset use the same list. A rebuild of a name that is not registered is refused before any reader is
paused, with the same message as before.
### Fixed
- **A durable timer answers its tick while its handler runs.** On the Orleans execution model, a durable timer's
reminder call stayed open until its handler returned, so a handler longer than the runtime's response timeout made
Orleans log `Could not deliver reminder tick` at Error for every tick it outlasted. The tick is now answered at once
and the handler runs in a call that carries no response timeout. The timer still fires once per due time, a tick
during its handler still does nothing, and a handler stopped with its silo still fires again on the next one.
- **A failing timer is logged.** A durable timer whose handler threw — or whose owner check or unregistration
failed — was visible only as Orleans' reminder error line. It is now logged as `117_137` `TimerFiringFailed` (Error)
with the owner, the purpose and the exception, and the timer fires again after its retry period as before.