Excalibur.EventSourcing
10.0.0-alpha.11
dotnet add package Excalibur.EventSourcing --version 10.0.0-alpha.11
NuGet\Install-Package Excalibur.EventSourcing -Version 10.0.0-alpha.11
<PackageReference Include="Excalibur.EventSourcing" Version="10.0.0-alpha.11" />
<PackageVersion Include="Excalibur.EventSourcing" Version="10.0.0-alpha.11" />
<PackageReference Include="Excalibur.EventSourcing" />
paket add Excalibur.EventSourcing --version 10.0.0-alpha.11
#r "nuget: Excalibur.EventSourcing, 10.0.0-alpha.11"
#:package Excalibur.EventSourcing@10.0.0-alpha.11
#addin nuget:?package=Excalibur.EventSourcing&version=10.0.0-alpha.11&prerelease
#tool nuget:?package=Excalibur.EventSourcing&version=10.0.0-alpha.11&prerelease
Excalibur.EventSourcing
Event sourcing infrastructure for the Excalibur framework.
Installation
dotnet add package Excalibur.EventSourcing
Features
IEventStore- Event stream persistence abstractionIEventSourcedRepository<T, TKey>- Repository pattern for event-sourced aggregatesISnapshotManagerandISnapshotStrategy- Snapshot support for performance optimizationIUpcastingPipeline- Event versioning and migration supportInMemoryEventStore- In-memory implementation for testing- AOT-compatible with full Native AOT support
Usage
// Register event sourcing with a provider (SQL Server example)
services.AddExcalibur(x => x.AddEventSourcing(es =>
{
es.UseSqlServer(opts => opts.ConnectionString(connectionString));
es.AddRepository<OrderAggregate, Guid>(id => new OrderAggregate(id));
}));
// Or use in-memory for testing
services.AddExcalibur(x => x.AddEventSourcing(es => es.UseInMemory()));
// Use with aggregates
public class OrderAggregate : AggregateRoot<Guid>
{
public void PlaceOrder(OrderDetails details)
{
Apply(new OrderPlacedEvent(Id, details));
}
}
Related Packages
Excalibur.EventSourcing.SqlServer- SQL Server event store implementationExcalibur.Domain- Domain building blocks (AggregateRoot, entities)Excalibur.Dispatch.Abstractions- Domain event interfaces
License
This project is multi-licensed under:
See LICENSE for details.
| 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
- Ben.Demystifier (>= 0.4.1)
- CloudNative.CloudEvents (>= 2.8.0)
- CloudNative.CloudEvents.SystemTextJson (>= 2.8.0)
- Cronos (>= 0.12.0)
- Dapper (>= 2.1.72)
- Excalibur.Compliance (>= 10.0.0-alpha.11)
- Excalibur.Compliance.Abstractions (>= 10.0.0-alpha.11)
- Excalibur.Dispatch (>= 10.0.0-alpha.11)
- Excalibur.EventSourcing.Abstractions (>= 10.0.0-alpha.11)
- Excalibur.Hosting (>= 10.0.0-alpha.11)
- FluentValidation (>= 12.1.1)
- FluentValidation.DependencyInjectionExtensions (>= 12.1.1)
- IdentityModel (>= 7.0.0)
- JsonNet.ContractResolvers (>= 2.0.0)
- Medo.Uuid7 (>= 3.2.0)
- MemoryPack (>= 1.21.4)
- Microsoft.ApplicationInsights (>= 3.1.0)
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Caching.Memory (>= 10.0.10)
- Microsoft.Extensions.Configuration (>= 10.0.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.10)
- Microsoft.Extensions.Configuration.CommandLine (>= 10.0.10)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.10)
- Microsoft.Extensions.Configuration.Json (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.10)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Hosting (>= 10.0.10)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Http (>= 10.0.10)
- Microsoft.Extensions.Logging (>= 10.0.10)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Logging.Console (>= 10.0.10)
- Microsoft.Extensions.ObjectPool (>= 10.0.10)
- Microsoft.Extensions.Options (>= 10.0.10)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.10)
- Microsoft.Extensions.Options.DataAnnotations (>= 10.0.10)
- Microsoft.IdentityModel.Tokens (>= 8.17.0)
- NCrontab (>= 3.4.0)
- OpenTelemetry (>= 1.15.3)
- OpenTelemetry.Api (>= 1.15.3)
- OpenTelemetry.Extensions.Hosting (>= 1.15.3)
- Polly (>= 8.6.6)
- System.IdentityModel.Tokens.Jwt (>= 8.17.0)
- System.IO.Hashing (>= 10.0.7)
- System.Threading.RateLimiting (>= 10.0.7)
NuGet packages (26)
Showing the top 5 NuGet packages that depend on Excalibur.EventSourcing:
| Package | Downloads |
|---|---|
|
Excalibur.A3
Authorization, Authentication, and Audit (A3) services for the Excalibur framework. PRE-RELEASE: the public API is not frozen and may change between pre-release builds. Not recommended for production use. Known issues: https://docs.excalibur-dispatch.dev/docs/known-issues |
|
|
Excalibur.Data.MongoDB
MongoDB database provider implementation for Excalibur data access layer. PRE-RELEASE: the public API is not frozen and may change between pre-release builds. Not recommended for production use. Known issues: https://docs.excalibur-dispatch.dev/docs/known-issues |
|
|
Excalibur.Data.DynamoDb
AWS DynamoDB data provider implementation for Excalibur cloud-native data access. PRE-RELEASE: the public API is not frozen and may change between pre-release builds. Not recommended for production use. Known issues: https://docs.excalibur-dispatch.dev/docs/known-issues |
|
|
Excalibur.Data.CosmosDb
Azure Cosmos DB data provider implementation for Excalibur cloud-native data access. PRE-RELEASE: the public API is not frozen and may change between pre-release builds. Not recommended for production use. Known issues: https://docs.excalibur-dispatch.dev/docs/known-issues |
|
|
Excalibur.Data.Firestore
Google Cloud Firestore data provider implementation for Excalibur cloud-native data access. PRE-RELEASE: the public API is not frozen and may change between pre-release builds. Not recommended for production use. Known issues: https://docs.excalibur-dispatch.dev/docs/known-issues |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0-alpha.11 | 145 | 9/15/2026 |
| 10.0.0-alpha.10 | 294 | 9/6/2026 |
| 10.0.0-alpha.9 | 303 | 8/31/2026 |
| 10.0.0-alpha.8 | 356 | 8/14/2026 |
| 10.0.0-alpha.7 | 345 | 8/13/2026 |
| 10.0.0-alpha.6 | 350 | 8/11/2026 |
| 10.0.0-alpha.5 | 363 | 8/10/2026 |
| 10.0.0-alpha.4 | 325 | 8/10/2026 |
| 3.0.0-alpha.216 | 305 | 6/30/2026 |
| 3.0.0-alpha.215 | 308 | 6/23/2026 |
| 3.0.0-alpha.214 | 288 | 6/23/2026 |
| 3.0.0-alpha.208 | 314 | 6/11/2026 |
| 3.0.0-alpha.207 | 318 | 6/11/2026 |
| 3.0.0-alpha.205 | 347 | 6/10/2026 |
| 3.0.0-alpha.204 | 334 | 6/8/2026 |
| 3.0.0-alpha.203 | 314 | 6/8/2026 |
| 3.0.0-alpha.202 | 314 | 6/8/2026 |
| 3.0.0-alpha.201 | 318 | 6/8/2026 |
| 3.0.0-alpha.199 | 307 | 6/8/2026 |
| 3.0.0-alpha.198 | 283 | 5/28/2026 |
Release notes and versioning policy: https://docs.excalibur-dispatch.dev/docs/migration/version-upgrades