Robotico.EventSourcing 1.0.3

Robotico.EventSourcing

Woodpecker CI

Build .NET 8 .NET 10 GitHub Packages

Event sourcing: event store abstraction and aggregates that fold events. Result-based. Depends on Robotico.Result. Add when multiple bounded contexts share the same event-sourcing model.

Robotico dependencies

flowchart LR
  A[Robotico.EventSourcing] --> B[Robotico.Result]

Installation

dotnet add package Robotico.EventSourcing

Quick start

Implement IEventStore<TId, TEvent>. Append events to a stream; read events in order to rebuild state. See docs/design.adoc for stream semantics and aggregate integration.

Documentation

Design docs (AsciiDoc) are in the docs/ folder:

  • Design (docs/design.adoc) — Event sourcing, API contract, stream identity and ordering, related packages.
  • Index (docs/index.adoc) — Quick links and how to build the docs.

To build HTML: asciidoctor docs/index.adoc -o docs/index.html and asciidoctor docs/design.adoc -o docs/design.html.

Building and testing

dotnet restore
dotnet build -c Release
dotnet test -c Release --collect:"XPlat Code Coverage"
  • Robotico.Domain — Use IEntity<TId> for aggregate roots that produce and fold events.
  • Robotico.Events — Dispatch domain events via IEventDispatcher after appending.
  • Robotico.Repository — Persist snapshots to avoid replaying full streams.

License

See repository license file.

No packages depend on Robotico.EventSourcing.

.NET 8.0

.NET 10.0

Version Downloads Last updated
1.0.3 2 07/26/2026
1.0.2 1 06/03/2026