Purview.EventSourcing.Admin.Abstractions
2.0.0-prerelease.32
dotnet add package Purview.EventSourcing.Admin.Abstractions --version 2.0.0-prerelease.32
NuGet\Install-Package Purview.EventSourcing.Admin.Abstractions -Version 2.0.0-prerelease.32
<PackageReference Include="Purview.EventSourcing.Admin.Abstractions" Version="2.0.0-prerelease.32" />
<PackageVersion Include="Purview.EventSourcing.Admin.Abstractions" Version="2.0.0-prerelease.32" />
<PackageReference Include="Purview.EventSourcing.Admin.Abstractions" />
paket add Purview.EventSourcing.Admin.Abstractions --version 2.0.0-prerelease.32
#r "nuget: Purview.EventSourcing.Admin.Abstractions, 2.0.0-prerelease.32"
#:package Purview.EventSourcing.Admin.Abstractions@2.0.0-prerelease.32
#addin nuget:?package=Purview.EventSourcing.Admin.Abstractions&version=2.0.0-prerelease.32&prerelease
#tool nuget:?package=Purview.EventSourcing.Admin.Abstractions&version=2.0.0-prerelease.32&prerelease
Purview.EventSourcing.Admin.Abstractions
Purview.EventSourcing.Admin.Abstractions defines the provider-neutral contracts and response models shared by the Purview EventSourcing admin portal packages. Storage adapters (SQL Server, MongoDB, Postgres, Azure Storage) and the API/UI layers depend on this package.
Install
dotnet add package Purview.EventSourcing.Admin.Abstractions
What is included
- Service contracts - the interfaces storage adapters implement:
IAdminAggregateQueryService- aggregate search and detail retrievalIAdminEventQueryService- event-range queriesIAdminProjectionService- point-in-time projectionsIAdminPermissionProvider- user-permission resolution (deny by default)
- Request/response models:
AggregateSummaryResponse,EventEnvelopeResponse,EventMetadataResponse,ProjectionResponse,ProjectionProvenancePagedResult<T>and query records (AggregateSearchQuery,EventRangeQuery)AdminFeatureandAdminPermission
Typical usage
This package is normally consumed transitively by a storage adapter and the admin UI/API packages. A custom storage adapter implements the service contracts and is registered against them:
builder.Services.AddTransient<IAdminAggregateQueryService, MyAdminAggregateQueryService>();
Authorization model
Permissions are expressed as AdminPermission records combining an AdminFeature, an optional aggregate-type scope, and an allow/deny flag. The IAdminPermissionProvider contract is intentionally deny-by-default: a feature is only authorized when a matching allow permission exists.
Event history uses separate ViewEvents and ViewEventPayloads permissions. Metadata remains available to event-history readers, while EventEnvelopeResponse.Payload is null for callers without payload access.
Related packages
- Admin API:
Purview.EventSourcing.Admin.Api - Admin security:
Purview.EventSourcing.Admin.Security - Admin UI:
Purview.EventSourcing.Admin.Site - Provider feature matrix
| Product | Versions 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. |
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Options (>= 10.0.12)
- Microsoft.Extensions.Telemetry.Abstractions (>= 10.10.0)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on Purview.EventSourcing.Admin.Abstractions:
| Package | Downloads |
|---|---|
|
Purview.EventSourcing.Admin.Security
Authorization policies and handlers for Purview EventSourcing Admin Portal. |
|
|
Purview.EventSourcing.Admin.API
ASP.NET Minimal API endpoints for Purview EventSourcing Admin Portal with OpenAPI documentation. |
|
|
Purview.EventSourcing.Admin.Site
Ready-to-use Razor Pages admin dashboard for Purview EventSourcing Admin Portal. Provides web UI for aggregate search, event inspection, and point-in-time projection queries. |
|
|
Purview.EventSourcing.Admin.AzureStorage
Azure Storage query adapters for Purview EventSourcing Admin Portal. |
|
|
Purview.EventSourcing.Admin.MongoDB
MongoDB storage adapter for Purview EventSourcing Admin Portal. Enables aggregate search, event inspection, and point-in-time projection queries on MongoDB event stores. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0-prerelease.32 | 48 | 9/15/2026 |
| 2.0.0-prerelease.31 | 80 | 9/12/2026 |
| 2.0.0-prerelease.30 | 103 | 9/8/2026 |
| 2.0.0-prerelease.29 | 110 | 8/3/2026 |