Read models are rebuilt with eventual consistency using subscribe to all EventStoreDB feature,
Added hosted service SubscribeToAllBackgroundWorker to handle subscribing to all. It handles checkpointing and simple retries if the connection was dropped.
Added ElasticSearchProjection as a sample how to project with left-fold into external storage. Another (e.g. ElasticSearch, EntityFramework) can be implemented the same way.
Added E-Commerce sample showing the classic Event Sourcing and CQRS flow with EvenStoreDB in .NET.
Overview
$all
.Write Model
Read Model
left-fold
into external storage. Another (e.g. ElasticSearch, EntityFramework) can be implemented the same way.Tests
Carts.Tests
:Carts.Api.Tests
Other
Besides that: