SharpCoreDB.CQRS 1.6.0

dotnet add package SharpCoreDB.CQRS --version 1.6.0
                    
NuGet\Install-Package SharpCoreDB.CQRS -Version 1.6.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SharpCoreDB.CQRS" Version="1.6.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SharpCoreDB.CQRS" Version="1.6.0" />
                    
Directory.Packages.props
<PackageReference Include="SharpCoreDB.CQRS" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SharpCoreDB.CQRS --version 1.6.0
                    
#r "nuget: SharpCoreDB.CQRS, 1.6.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SharpCoreDB.CQRS@1.6.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SharpCoreDB.CQRS&version=1.6.0
                    
Install as a Cake Addin
#tool nuget:?package=SharpCoreDB.CQRS&version=1.6.0
                    
Install as a Cake Tool

SharpCoreDB.CQRS v1.6.0

Optional CQRS package for SharpCoreDB.

What this package is for

Use this package when you want command dispatching, aggregate-side pending events, and reliable outbox-based publication without adopting a full CQRS framework.

What this package does exactly

  • Defines command contracts and handlers
  • Dispatches commands in-memory or through dependency injection
  • Collects pending domain events on aggregates
  • Stores unpublished outbox messages in memory or in SharpCoreDB
  • Retries failed publication and supports dead-letter handling
  • Runs background outbox dispatch with a hosted worker

What this package does not do

  • It does not persist event streams
  • It does not execute projections
  • It does not require MediatR or any transport-specific broker integration

Highlights in v1.6.0

  • Synchronized with the SharpCoreDB 1.6.0 package line
  • Documents persistent outbox storage, retry policy, dead-letter handling, and hosted worker support
  • Keeps CQRS guidance aligned with the current Event Sourcing and outbox integration story

Included in this scaffold

  • Command contracts and handlers
  • In-memory command dispatcher
  • Service-provider command dispatcher
  • CQRS dependency injection extensions
  • Aggregate root base type
  • Outbox message model and in-memory outbox store
  • Persistent SharpCoreDB-backed outbox store
  • Outbox dispatch service and publisher contract
  • Configurable retry policy and dead-letter handling
  • Hosted outbox dispatch background worker
  • AddPersistentOutbox(), AddOutboxRetryPolicy(), and AddOutboxWorker() DI helpers

Installation

dotnet add package SharpCoreDB.CQRS --version 1.6.0
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.6.0 100 3/23/2026

v1.6.0: Synchronized release with the latest SharpCoreDB features, fixes, and documentation updates.