LawnDart 0.4.0-alpha.7

This is a prerelease version of LawnDart.
dotnet add package LawnDart --version 0.4.0-alpha.7
                    
NuGet\Install-Package LawnDart -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" 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" Version="0.4.0-alpha.7" />
                    
Directory.Packages.props
<PackageReference Include="LawnDart" />
                    
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 LawnDart --version 0.4.0-alpha.7
                    
#r "nuget: LawnDart, 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@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&version=0.4.0-alpha.7&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=LawnDart&version=0.4.0-alpha.7&prerelease
                    
Install as a Cake Tool

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 implement IEventLog; UseInMemory() and UseSqlServer() live in the EventSourcing packages, not here
  • IEvent / ICommand / IState — base interfaces for your domain types
  • AggregateRoot — base class for aggregate roots; apply events and track uncommitted changes
  • IAggregateRepository — load and save aggregates against any IEventStore implementation
  • IBoundedContextEventStore — named handle to a full context stack
  • BoundedContextBuilder — fluent builder returned by services.AddBoundedContext(contextName)
  • IDcbRepository — Dynamic Consistency Boundary (DCB) pattern support
  • IReactor / IEventProcessor / ITaskProcessor — hosted pattern contracts
  • ICommandHandler — app-facing command dispatch
  • ICommandDispatcher — routes reactor/processor commands to ICommandHandler<T> (same LawnDart.Messaging namespace as MessageContext; EventSourcing registers ContextAwareCommandDispatcher)
  • IProjector — optional Event → State stub (ProjectAsync). Lightweight does not call it; use ProjectionBase for 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 — EventSession maps IEvent ↔ 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.DependencyInjection
  • Microsoft.Extensions.Logging.Abstractions
  • Microsoft.Extensions.Options
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 (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