-
Notifications
You must be signed in to change notification settings - Fork 0
Sample Application
Kieron Lanning edited this page Apr 16, 2026
·
1 revision
| Project | Purpose |
|---|---|
EventSourcing.Samples |
Domain types and application services |
EventSourcing.Samples.Web |
Razor Pages UI |
EventSourcing.Samples.AppHost |
Aspire local orchestration |
EventSourcing.Samples.ServiceDefaults |
Health checks, telemetry, and service discovery helpers |
- non-generic
IEventStore/IQueryableEventStoreusage - transaction-based multi-aggregate workflows
- SQL Server events + SQL Server queryable snapshots
- Redis distributed caching when available
- Azure Blob-backed product image service when configured
- Aspire-driven local orchestration for SQL Server, Redis, and Azurite
- loads the customer
- loads and validates multiple inventory records
- creates an order
- enlists the order plus inventory reservations in one transaction
- creates and confirms an order
- reserves stock
- commits both aggregates through a transaction
- loads source and destination locations
- adjusts source and destination inventory
- commits both aggregate changes through a transaction
Run the sample web project with the required connection strings configured.
EventSourcing.Samples.AppHost provisions:
- SQL Server container + database
- Redis
- Azurite / blob storage emulator
- the sample web project
This is the easiest way to spin up the full sample stack locally.