Sekiban.Dcb.Core
10.2.2
dotnet add package Sekiban.Dcb.Core --version 10.2.2
NuGet\Install-Package Sekiban.Dcb.Core -Version 10.2.2
<PackageReference Include="Sekiban.Dcb.Core" Version="10.2.2" />
<PackageVersion Include="Sekiban.Dcb.Core" Version="10.2.2" />
<PackageReference Include="Sekiban.Dcb.Core" />
paket add Sekiban.Dcb.Core --version 10.2.2
#r "nuget: Sekiban.Dcb.Core, 10.2.2"
#:package Sekiban.Dcb.Core@10.2.2
#addin nuget:?package=Sekiban.Dcb.Core&version=10.2.2
#tool nuget:?package=Sekiban.Dcb.Core&version=10.2.2
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
- Microsoft.AspNetCore.Http.Abstractions (>= 2.3.9)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.3)
- ResultBoxes (>= 0.4.0)
- Sekiban.Dcb.Core.Model (>= 10.2.2)
-
net9.0
- Microsoft.AspNetCore.Http.Abstractions (>= 2.3.9)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.3)
- ResultBoxes (>= 0.4.0)
- Sekiban.Dcb.Core.Model (>= 10.2.2)
NuGet packages (15)
Showing the top 5 NuGet packages that depend on Sekiban.Dcb.Core:
| Package | Downloads |
|---|---|
|
Sekiban.Dcb.Postgres
Sekiban - Dynamic Consistency Boundary PostgreSQL Integration |
|
|
Sekiban.Dcb.CosmosDb
Sekiban - Dynamic Consistency Boundary CosmosDB Integration |
|
|
Sekiban.Dcb.BlobStorage.AzureStorage
Sekiban - Dynamic Consistency Boundary Azure Blob Storage Integration |
|
|
Sekiban.Dcb.WithoutResult
Sekiban DCB WithoutResult - Exception-based API for Dynamic Consistency Boundary |
|
|
Sekiban.Dcb.Orleans.Core
Sekiban DCB Orleans Core - Shared Orleans infrastructure for Dynamic Consistency Boundary |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.2.2 | 1,088 | 4/18/2026 |
| 10.2.1 | 325 | 4/18/2026 |
| 10.2.0 | 318 | 4/17/2026 |
| 10.1.18 | 312 | 4/17/2026 |
| 10.1.17 | 468 | 4/16/2026 |
| 10.1.16 | 287 | 4/16/2026 |
| 10.1.15 | 324 | 4/16/2026 |
| 10.1.14 | 298 | 4/15/2026 |
| 10.1.13 | 281 | 4/15/2026 |
| 10.1.12 | 340 | 4/6/2026 |
| 10.1.11 | 255 | 4/5/2026 |
| 10.1.10 | 274 | 3/29/2026 |
| 10.1.9 | 1,096 | 3/18/2026 |
| 10.1.8 | 588 | 3/17/2026 |
| 10.1.7 | 329 | 3/16/2026 |
| 10.1.6 | 276 | 3/16/2026 |
| 10.1.5 | 283 | 3/16/2026 |
| 10.1.4 | 455 | 3/10/2026 |
| 10.1.3 | 274 | 3/10/2026 |
| 10.1.2 | 273 | 3/9/2026 |