Examples

Runnable sample projects live under examples/ in the repository. Each demonstrates one feature area against a real (or in-memory) backing service.

Project What it shows Related docs
Memoria.Examples.EventSourcing.EntityFrameworkCore Aggregate + EF Core store + DbContext extensions Quickstart: Event Sourcing · Configuration: EF Core · EF Core Extensions
Memoria.Examples.EventSourcing.Dcb.EntityFrameworkCore Course subscription under a dynamic consistency boundary; union and intersection boundaries side by side, SaveAggregate and a query-read projection, both with snapshots Dynamic consistency boundaries · Streams or DCB? · Configuration: EF Core (DCB)
Memoria.Examples.Ecommerce.Dcb A full Blazor Server storefront on dynamic consistency boundaries: commands, queries, notifications, FluentValidation and read models over EF Core and PostgreSQL. The largest example here. Dynamic consistency boundaries · Streams or DCB? · Configuration: EF Core (DCB)
Memoria.Examples.EventSourcing.Cosmos Aggregate + Cosmos DB store Configuration: Cosmos
Memoria.Examples.Messaging.ServiceBus SendAndPublish with Azure Service Bus Publish to Service Bus
Memoria.Examples.Messaging.RabbitMq SendAndPublish with RabbitMQ Publish to RabbitMQ
Memoria.Examples.Caching.Memory CacheableQuery with the in-process provider Cache queries
Memoria.Examples.Caching.Redis CacheableQuery with Redis Cache queries