Sekiban.Dcb.WithResult.Model
10.1.0-preview01
See the version list below for details.
dotnet add package Sekiban.Dcb.WithResult.Model --version 10.1.0-preview01
NuGet\Install-Package Sekiban.Dcb.WithResult.Model -Version 10.1.0-preview01
<PackageReference Include="Sekiban.Dcb.WithResult.Model" Version="10.1.0-preview01" />
<PackageVersion Include="Sekiban.Dcb.WithResult.Model" Version="10.1.0-preview01" />
<PackageReference Include="Sekiban.Dcb.WithResult.Model" />
paket add Sekiban.Dcb.WithResult.Model --version 10.1.0-preview01
#r "nuget: Sekiban.Dcb.WithResult.Model, 10.1.0-preview01"
#:package Sekiban.Dcb.WithResult.Model@10.1.0-preview01
#addin nuget:?package=Sekiban.Dcb.WithResult.Model&version=10.1.0-preview01&prerelease
#tool nuget:?package=Sekiban.Dcb.WithResult.Model&version=10.1.0-preview01&prerelease
Sekiban DCB - Dynamic Consistency Boundary
Sekiban DCB is the recommended event sourcing implementation for new projects. It uses tag-based consistency boundaries instead of traditional aggregates, enabling more flexible cross-entity transactions without saga complexity.
📚 Documentation: sekiban.dev
Sekiban Implementations
| Implementation | Description | Status |
|---|---|---|
| Sekiban DCB | Dynamic Consistency Boundary - tag-based event sourcing | ✅ Recommended |
| Sekiban.Pure | Traditional aggregate-based event sourcing | ⚠️ Deprecated |
Quick Start
dotnet new install Sekiban.Pure.Templates
dotnet new sekiban-orleans-aspire -n YourProjectName
Key Features
- Tag-based consistency: Define consistency scope per command, not per aggregate
- No saga complexity: Cross-entity invariants without compensating events
- Optimistic concurrency: Tag-based conflict detection with
SortableUniqueId - Actor model: Microsoft Orleans integration for scalability
- Multi-cloud: Azure (Cosmos DB) and AWS (DynamoDB) support
Supported Event Stores
| Event Store | Package | Cloud |
|---|---|---|
| Cosmos DB | Sekiban.Dcb.CosmosDb |
Azure |
| PostgreSQL | Sekiban.Dcb.Postgres |
Any |
| DynamoDB | Sekiban.Dcb.DynamoDB |
AWS |
| SQLite | Sekiban.Dcb.Sqlite |
Local/Dev |
Snapshot Storage
| Storage | Package | Cloud |
|---|---|---|
| Azure Blob | Sekiban.Dcb.BlobStorage.AzureStorage |
Azure |
| Amazon S3 | Sekiban.Dcb.BlobStorage.S3 |
AWS |
DCB Packages
| Package | Description |
|---|---|
Sekiban.Dcb.Core |
Core framework |
Sekiban.Dcb.Core.Model |
Domain model interfaces |
Sekiban.Dcb.WithResult |
ResultBox integration |
Sekiban.Dcb.Orleans.WithResult |
Orleans + ResultBox |
Sekiban.Dcb.Postgres |
PostgreSQL event store |
Sekiban.Dcb.CosmosDb |
Cosmos DB event store |
Sekiban.Dcb.DynamoDB |
DynamoDB event store |
Sekiban.Dcb.Sqlite |
SQLite event store |
Sekiban.Dcb.BlobStorage.AzureStorage |
Azure Blob snapshots |
Sekiban.Dcb.BlobStorage.S3 |
S3 snapshots |
What is DCB?
Dynamic Consistency Boundary (DCB) replaces rigid per-aggregate transactional boundaries with context-sensitive consistency based on event tags. Each event carries tags representing affected entities, and consistency is enforced only on the tags reserved by a command.
Learn more at dcb.events
Documentation
- Website: sekiban.dev
- DCB Docs: docs/dcb_llm (EN) | docs/dcb_llm_ja (JP)
License
Apache 2.0 - Copyright (c) 2022- J-Tech Japan
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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
- ResultBoxes (>= 0.4.0)
- Sekiban.Dcb.Core.Model (>= 10.1.0-preview01)
-
net9.0
- ResultBoxes (>= 0.4.0)
- Sekiban.Dcb.Core.Model (>= 10.1.0-preview01)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Sekiban.Dcb.WithResult.Model:
| Package | Downloads |
|---|---|
|
Sekiban.Dcb.WithResult
Sekiban DCB WithResult - ResultBox-based API for Dynamic Consistency Boundary |
|
|
Sekiban.Dcb.Orleans.WithResult
Sekiban DCB Orleans WithResult - Orleans integration with ResultBox-based error handling |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.2.2 | 123 | 4/18/2026 |
| 10.2.1 | 137 | 4/18/2026 |
| 10.2.0 | 137 | 4/17/2026 |
| 10.1.18 | 144 | 4/17/2026 |
| 10.1.17 | 131 | 4/16/2026 |
| 10.1.16 | 130 | 4/16/2026 |
| 10.1.15 | 135 | 4/16/2026 |
| 10.1.14 | 139 | 4/15/2026 |
| 10.1.13 | 132 | 4/15/2026 |
| 10.1.12 | 158 | 4/6/2026 |
| 10.1.11 | 133 | 4/5/2026 |
| 10.1.10 | 143 | 3/29/2026 |
| 10.1.9 | 152 | 3/18/2026 |
| 10.1.8 | 241 | 3/17/2026 |
| 10.1.7 | 142 | 3/16/2026 |
| 10.1.6 | 131 | 3/16/2026 |
| 10.1.5 | 126 | 3/16/2026 |
| 10.1.4 | 123 | 3/10/2026 |
| 10.1.3 | 123 | 3/10/2026 |
| 10.1.0-preview01 | 128 | 2/3/2026 |