Skip to content
Kieron Lanning edited this page Apr 16, 2026 · 2 revisions

Purview EventSourcing Wiki

Purview EventSourcing is a .NET event sourcing framework built around provider-agnostic store facades, source-generated aggregates, and multi-aggregate transaction coordination.

Start here

Key ideas

  • Use IEventStore for create/get/save/delete flows.
  • Use IQueryableEventStore for query/list/count flows.
  • Prefer the non-generic facades in application code; the sample app demonstrates that usage style throughout.
  • Use IEventStoreTransactionFactory when a workflow changes multiple aggregates together.
  • Pair an event stream store with a queryable snapshot store when you need filtering, paging, or projection-style reads.

Package map

Package Purpose
EventSourcing Core abstractions, aggregates, facades, extensions, and transactions
Purview.EventSourcing.SourceGenerator Aggregate/event source generator
EventSourcing.SqlServer.Events SQL Server / Azure SQL event store
EventSourcing.SqlServer.Snapshot SQL Server / Azure SQL queryable snapshot store
EventSourcing.AzureStorage Azure Table / Blob event store
EventSourcing.MongoDB.Events MongoDB event store
EventSourcing.MongoDB.Snapshot MongoDB queryable snapshot store
EventSourcing.CosmosDb.Snapshot Cosmos DB queryable snapshot store

Clone this wiki locally