Stratara.Contracts
4.4.8
Prefix Reserved
See the version list below for details.
dotnet add package Stratara.Contracts --version 4.4.8
NuGet\Install-Package Stratara.Contracts -Version 4.4.8
<PackageReference Include="Stratara.Contracts" Version="4.4.8" />
<PackageVersion Include="Stratara.Contracts" Version="4.4.8" />
<PackageReference Include="Stratara.Contracts" />
paket add Stratara.Contracts --version 4.4.8
#r "nuget: Stratara.Contracts, 4.4.8"
#:package Stratara.Contracts@4.4.8
#addin nuget:?package=Stratara.Contracts&version=4.4.8
#tool nuget:?package=Stratara.Contracts&version=4.4.8
Stratara.Contracts
Derived. The behaviour described here is specified under
openspec/specs/. Those specifications are the source; this page explains and illustrates them.
License: MIT.
Wire-level POCO contracts shared by every Stratara package. Pure data records — no runtime, no DI, no infrastructure deps. Safe to reference from any layer.
Contents
Messages/EventMessage,EventBundle,CommandEnvelope— the cross-process envelope shapes that messaging adapters (Stratara.Outbox.RabbitMQetc.) serialise on and off the bus.Requests/PagedRequest— shared pagination + sort record used by query handlers across the family.Session/SessionContext— public data shape for actor/subject identity, correlation, causation, and connection routing. TheISessionContextProviderservice abstraction lives inStratara.Abstractions; the ASP.NET Core middleware that populates it lives inStratara.Sessions.
Quick reference
// Build a CommandEnvelope outside the framework (rare, but supported)
var envelope = new CommandEnvelope(
Id: Guid.CreateVersion7(),
CommandJson: commandJson,
CommandTypeName: typeof(MyCommand).AssemblyQualifiedName!,
SessionContextJson: sessionContextJson);
Dependencies
None. Contracts is the lowest tier in the Stratara dependency graph.
| 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
- No dependencies.
NuGet packages (9)
Showing the top 5 NuGet packages that depend on Stratara.Contracts:
| Package | Downloads |
|---|---|
|
Stratara.Abstractions
Contract interfaces and POCO records for the Stratara CQRS / Event Sourcing framework — Mediator, EventSourcing, Persistence, Outbox, Messaging, Session, Security, Authorization. Library-safe, no EF Core or message-bus runtime. |
|
|
Stratara.Sessions
ASP.NET Core middleware and provider for Stratara's Actor/Subject session model. Reads tenant and user from JWT claims (or X-Tenant-Id / X-Client-Id headers) and populates the ambient ISessionContextProvider for every request. |
|
|
Stratara.Shared
Umbrella package for the Stratara framework — source-generated logger extensions for command flows, domain-event helpers, merge primitives, and the Tier-A/B abstractions surface re-exported as one transitive bundle. |
|
|
Stratara.Projections
Projection runtime for the Stratara event-sourced stack — projection-handler discovery, change-set creation, update application, and projection manager. Sits between read-model repositories and the event-bundle dispatcher. |
|
|
Stratara.Outbox.RabbitMQ
Outbox-pattern command and event dispatch for the Stratara event-sourced stack — RabbitMQ IMessageBus implementation, retry worker, mediator command worker, and Redis-coordinated projection-replay state. Azure Service Bus support ships as the sibling Stratara.Outbox.AzureServiceBus package. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.8.0 | 514 | 11/6/2026 |
| 4.7.1 | 431 | 11/5/2026 |
| 4.7.0 | 828 | 10/30/2026 |
| 4.6.1 | 357 | 10/29/2026 |
| 4.6.0 | 431 | 10/28/2026 |
| 4.5.0 | 516 | 10/28/2026 |
| 4.4.10 | 444 | 10/26/2026 |
| 4.4.9 | 351 | 10/26/2026 |
| 4.4.8 | 493 | 10/24/2026 |
| 4.4.7 | 359 | 10/23/2026 |
| 4.4.6 | 472 | 10/22/2026 |
| 4.4.5 | 881 | 10/14/2026 |
| 4.4.4 | 609 | 10/10/2026 |
| 4.4.3 | 339 | 10/10/2026 |
| 4.4.2 | 703 | 10/2/2026 |
| 4.4.1 | 644 | 9/29/2026 |
| 4.4.0 | 383 | 9/27/2026 |
| 4.3.1 | 434 | 9/25/2026 |
| 4.3.0 | 628 | 9/23/2026 |
| 4.2.0 | 385 | 9/18/2026 |
A fix for hosts on the Orleans execution model. A store reader that catches up a large backlog and a singleton
work that runs long now answer their keep-alive, so neither leaves reminder errors in the silo's log. A silo that
joins while a singleton work runs long on another silo no longer fails its start. No API change, no schema change
and no migration.
### Fixed
- **A busy store reader or singleton work answers its keep-alive.** On the Orleans execution model, a projection or
saga reader that caught up a backlog for longer than the runtime's response timeout made its keep-alive tick wait
behind the catch-up, and Orleans logged `Could not deliver reminder tick` at Error, once per partition and
keep-alive period. A singleton work whose run outlasted the timeout did the same. Nothing was lost, but a large
catch-up left dozens of errors on the silo. The keep-alive and the poll now start a catch-up where none is
running and do not wait for it. A partition is still read by one catch-up at a time, and a commit during a
catch-up is still applied by it. A singleton work's keep-alive interleaves with its run, and runs still never
overlap.
- **A silo starts while a singleton work runs long.** A silo that started while a singleton work it registers ran
longer than the response timeout on another silo waited for that run in its own start. The start then failed
with a `TimeoutException`. The call a starting silo makes to each singleton work and store reader now
interleaves, so the start goes on.
- *Operate the Orleans execution model* says that a durable timer whose handler outlasts the response timeout
still makes Orleans log `Could not deliver reminder tick` for that tick, and that the line says nothing about
the timer. It also says that, outside a deploy, the line now points to an unreachable store reader or singleton
work rather than a busy one.