LawnDart.EventSourcing
0.4.0-alpha.7
This is a prerelease version of LawnDart.EventSourcing.
dotnet add package LawnDart.EventSourcing --version 0.4.0-alpha.7
NuGet\Install-Package LawnDart.EventSourcing -Version 0.4.0-alpha.7
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="LawnDart.EventSourcing" Version="0.4.0-alpha.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LawnDart.EventSourcing" Version="0.4.0-alpha.7" />
<PackageReference Include="LawnDart.EventSourcing" />
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 LawnDart.EventSourcing --version 0.4.0-alpha.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LawnDart.EventSourcing, 0.4.0-alpha.7"
#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 LawnDart.EventSourcing@0.4.0-alpha.7
#: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=LawnDart.EventSourcing&version=0.4.0-alpha.7&prerelease
#tool nuget:?package=LawnDart.EventSourcing&version=0.4.0-alpha.7&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
LawnDart.EventSourcing
Event sourcing runtime for LawnDart. Provides aggregate repositories, DCB repositories, an in-memory event store, JSON serialization, and outbox processing.
What's included
AggregateRepository— load and save aggregates via anyIEventStoreDcbRepository— Dynamic Consistency Boundary repositoryInMemoryEventStore— in-process recorded-event log + portable subscriptions (serialize on append)JsonEventSerializer— defaultIEventSerializer(STJ UTF-8 bytes)UseInMemory()— documented default backend onAddBoundedContext; registers the in-memory event store, snapshot store, and outbox writerInMemorySnapshotStore— process-localISnapshotStore/IDcbSnapshotStore/ISnapshotAdminInMemoryOutboxWriter— process-localIOutboxWriter- Snapshot writes — committed state is captured on the calling thread, then a hosted consumer persists it (see
docs/SNAPSHOTS.md) EventSourcingRepositories/AddSnapshotWriteInfrastructure— public seam for a third-partyUse*so snapshot writes still enqueue
Installation
dotnet add package LawnDart --prerelease
dotnet add package LawnDart.EventSourcing --prerelease
Getting started
services.AddLawnDart(o => o.RequireTenantId = false);
services.AddBoundedContext("default").UseInMemory();
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- LawnDart (>= 0.4.0-alpha.7)
- Microsoft.Extensions.Caching.Memory (>= 10.0.7)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 10.0.7)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.7)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.7)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on LawnDart.EventSourcing:
| Package | Downloads |
|---|---|
|
LawnDart.Testing
Given/when/then and messaging harnesses for LawnDart. InMemory only. |
|
|
LawnDart.EventSourcing.SqlServer
SQL Server persistence provider for LawnDart.EventSourcing. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.4.0-alpha.7 | 76 | 9/18/2026 |
| 0.4.0-alpha.6 | 67 | 9/17/2026 |
| 0.4.0-alpha.5 | 70 | 9/17/2026 |
| 0.4.0-alpha.3 | 72 | 9/17/2026 |
| 0.4.0-alpha.2 | 59 | 9/15/2026 |
| 0.4.0-alpha.1 | 68 | 9/14/2026 |
| 0.3.0-alpha.1 | 90 | 9/10/2026 |
| 0.2.0-alpha.2 | 87 | 9/9/2026 |
| 0.1.0-alpha.1 | 79 | 9/8/2026 |