Purview.EventSourcing 2.0.0-prerelease.30

This is a prerelease version of Purview.EventSourcing.
dotnet add package Purview.EventSourcing --version 2.0.0-prerelease.30
                    
NuGet\Install-Package Purview.EventSourcing -Version 2.0.0-prerelease.30
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Purview.EventSourcing" Version="2.0.0-prerelease.30" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Purview.EventSourcing" Version="2.0.0-prerelease.30" />
                    
Directory.Packages.props
<PackageReference Include="Purview.EventSourcing" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Purview.EventSourcing --version 2.0.0-prerelease.30
                    
#r "nuget: Purview.EventSourcing, 2.0.0-prerelease.30"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Purview.EventSourcing@2.0.0-prerelease.30
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Purview.EventSourcing&version=2.0.0-prerelease.30&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Purview.EventSourcing&version=2.0.0-prerelease.30&prerelease
                    
Install as a Cake Tool

Purview.EventSourcing

Purview.EventSourcing is the core Purview EventSourcing package. It provides aggregate base types, event metadata, provider-agnostic store facades, transaction coordination, and dependency injection extensions for event-sourced .NET applications.

Install

dotnet add package Purview.EventSourcing

What is included

  • AggregateBase and related aggregate infrastructure
  • IEventStore and IQueryableEventStore
  • IEventStoreTransactionFactory and transaction result types
  • Source generation for aggregate events and command methods
  • Source-analysis diagnostics and code fixes (Purview.EventSourcing.SourceGenerator for analyzers and generation, Purview.EventSourcing.SourceGenerator.CodeFixes for IDE code fixes)
  • Embedded AI agent skills for aggregate design, validation, and value-object modeling
  • Common extension points used by provider packages
  • Dependency injection helpers for core framework services

Typical usage

builder.Services.AddNullQueryableEventStore();
var order = await store.GetAsync<OrderAggregate>(orderId, cancellationToken)
    ?? await store.CreateAsync<OrderAggregate>(orderId, cancellationToken: cancellationToken);

order.CreateOrder(customerId);
await store.SaveAsync(order, cancellationToken);
  • SQL Server (events and snapshots): Purview.EventSourcing.SqlServer
  • Azure Storage (events with blob-backed snapshots/large payloads): Purview.EventSourcing.AzureStorage
  • MongoDB (events and snapshots): Purview.EventSourcing.MongoDB
  • Cosmos DB (snapshot only): Purview.EventSourcing.CosmosDb

Documentation

When using snapshot-backed providers, especially SQL Server, read the provider docs before assuming deep predicates through complex scalar value object .Value members will translate.

Agent skill integration

When installed from NuGet, Purview.EventSourcing ships bundled agent skills. Consuming repositories that use Purview.DotNetProjectSdk get those skills copied into .agents\skills\ before build so supported coding agents can discover framework-specific guidance automatically.

To opt out, set:

<PropertyGroup>
  <EnableAgentFolderInPackage>false</EnableAgentFolderInPackage>
</PropertyGroup>
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (12)

Showing the top 5 NuGet packages that depend on Purview.EventSourcing:

Package Downloads
Purview.EventSourcing.SqlServer

Azure SQL and SQL Server event stream storage provider for Purview EventSourcing.

Purview.EventSourcing.AzureStorage

Azure Table Storage and Blob Storage event store provider for Purview EventSourcing, including snapshot and large-payload support.

Purview.EventSourcing.MongoDB

MongoDB event stream and snapshot storage provider for Purview EventSourcing.

Purview.EventSourcing.CosmosDb

Azure Cosmos DB queryable snapshot storage provider for Purview EventSourcing.

Purview.EventSourcing.InMemory

In-memory non-queryable and queryable snapshot storage provider for Purview EventSourcing.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0-prerelease.30 62 9/8/2026
2.0.0-prerelease.29 131 8/3/2026
2.0.0-prerelease.28 102 7/20/2026
2.0.0-prerelease.27 85 7/20/2026
2.0.0-prerelease.26 84 7/20/2026
2.0.0-prerelease.25 92 7/20/2026
2.0.0-prerelease.23 92 7/20/2026
2.0.0-prerelease.22 86 7/19/2026
2.0.0-prerelease.21 108 6/26/2026
2.0.0-prerelease.20 92 6/26/2026
2.0.0-prerelease.19 95 6/26/2026
2.0.0-prerelease.18 110 6/25/2026
2.0.0-prerelease.16 90 6/23/2026
2.0.0-prerelease.15 103 6/22/2026
2.0.0-prerelease.14 96 6/22/2026
2.0.0-prerelease.13 96 6/21/2026
2.0.0-prerelease.4 127 6/17/2026
2.0.0-prerelease.3 89 6/17/2026
2.0.0-prerelease.2 103 6/17/2026
2.0.0-prerelease.1 103 6/15/2026