LawnDart 0.4.0-alpha.7
dotnet add package LawnDart --version 0.4.0-alpha.7
NuGet\Install-Package LawnDart -Version 0.4.0-alpha.7
<PackageReference Include="LawnDart" Version="0.4.0-alpha.7" />
<PackageVersion Include="LawnDart" Version="0.4.0-alpha.7" />
<PackageReference Include="LawnDart" />
paket add LawnDart --version 0.4.0-alpha.7
#r "nuget: LawnDart, 0.4.0-alpha.7"
#:package LawnDart@0.4.0-alpha.7
#addin nuget:?package=LawnDart&version=0.4.0-alpha.7&prerelease
#tool nuget:?package=LawnDart&version=0.4.0-alpha.7&prerelease
LawnDart
Core interfaces, abstractions, and building blocks for the LawnDart runtime. This is the foundation package — all other LawnDart packages depend on it.
What's included
IEventStore— the typed session interface. Backends implementIEventLog;UseInMemory()andUseSqlServer()live in the EventSourcing packages, not hereIEvent/ICommand/IState— base interfaces for your domain typesAggregateRoot— base class for aggregate roots; apply events and track uncommitted changesIAggregateRepository— load and save aggregates against anyIEventStoreimplementationIBoundedContextEventStore— named handle to a full context stackBoundedContextBuilder— fluent builder returned byservices.AddBoundedContext(contextName)IDcbRepository— Dynamic Consistency Boundary (DCB) pattern supportIReactor/IEventProcessor/ITaskProcessor— hosted pattern contractsICommandHandler— app-facing command dispatchICommandDispatcher— routes reactor/processor commands toICommandHandler<T>(sameLawnDart.Messagingnamespace asMessageContext; EventSourcing registersContextAwareCommandDispatcher)IProjector— optional Event → State stub (ProjectAsync). Lightweight does not call it; useProjectionBasefor the shipped host, or hand-roll your own loop- Snapshots —
ISnapshotStore,IDcbSnapshotStore,ISnapshotStrategy, built-in strategies - Authorization —
IAuthorizationProvider, attributes,AuthorizationService - Metadata —
IMetadataProvider,ITenantContextProvider,EventMetadata,CommandMetadata - Tagging —
ITagProvider,[Tag]attribute - Serialization —
IEventSerializer(ReadOnlyMemory<byte>),[PropertyOrder] - Event session —
EventSessionmapsIEvent↔AppendEvent/RecordedEvent - Outbox —
IOutboxWriter,IOutboxPublisher,OutboxMessage
Installation
dotnet add package LawnDart --prerelease
Getting started
services.AddLawnDart();
Optionally configure options and provide a tenant context:
services.AddLawnDart(options =>
{
options.RequireTenantId = false;
});
services.AddTenantContextProvider<MyTenantContextProvider>();
Package dependencies
Microsoft.Extensions.DependencyInjectionMicrosoft.Extensions.Logging.AbstractionsMicrosoft.Extensions.Options
| 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
- Microsoft.Extensions.DependencyInjection (>= 10.0.7)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.7)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.7)
- Microsoft.Extensions.Options (>= 10.0.7)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on LawnDart:
| Package | Downloads |
|---|---|
|
LawnDart.Messaging
Messaging abstractions and hosted processing for LawnDart reactors and processors. |
|
|
LawnDart.EventSourcing
Event sourcing runtime and InMemory store for LawnDart. |
|
|
LawnDart.Projections.Lightweight
In-process projection host for LawnDart. Runs on InMemory and SQL Server. |
|
|
LawnDart.AspNetCore
HTTP command mapping for LawnDart. Auth package is optional. |
|
|
LawnDart.Testing
Given/when/then and messaging harnesses for LawnDart. InMemory only. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.4.0-alpha.7 | 99 | 9/18/2026 |
| 0.4.0-alpha.6 | 96 | 9/17/2026 |
| 0.4.0-alpha.5 | 94 | 9/17/2026 |
| 0.4.0-alpha.3 | 94 | 9/17/2026 |
| 0.4.0-alpha.2 | 87 | 9/15/2026 |
| 0.4.0-alpha.1 | 93 | 9/14/2026 |
| 0.3.0-alpha.1 | 132 | 9/10/2026 |
| 0.2.0-alpha.2 | 117 | 9/9/2026 |
| 0.1.0-alpha.1 | 115 | 9/8/2026 |