Purview.EventSourcing.Admin.MongoDB
2.0.0-prerelease.35
dotnet add package Purview.EventSourcing.Admin.MongoDB --version 2.0.0-prerelease.35
NuGet\Install-Package Purview.EventSourcing.Admin.MongoDB -Version 2.0.0-prerelease.35
<PackageReference Include="Purview.EventSourcing.Admin.MongoDB" Version="2.0.0-prerelease.35" />
<PackageVersion Include="Purview.EventSourcing.Admin.MongoDB" Version="2.0.0-prerelease.35" />
<PackageReference Include="Purview.EventSourcing.Admin.MongoDB" />
paket add Purview.EventSourcing.Admin.MongoDB --version 2.0.0-prerelease.35
#r "nuget: Purview.EventSourcing.Admin.MongoDB, 2.0.0-prerelease.35"
#:package Purview.EventSourcing.Admin.MongoDB@2.0.0-prerelease.35
#addin nuget:?package=Purview.EventSourcing.Admin.MongoDB&version=2.0.0-prerelease.35&prerelease
#tool nuget:?package=Purview.EventSourcing.Admin.MongoDB&version=2.0.0-prerelease.35&prerelease
Purview.EventSourcing.Admin.MongoDB
Purview.EventSourcing.Admin.MongoDB provides MongoDB-backed implementations of the admin portal service contracts (IAdminAggregateQueryService, IAdminEventQueryService, IAdminProjectionService), reading directly from the collections written by Purview.EventSourcing.MongoDB.
Install
dotnet add package Purview.EventSourcing.Admin.MongoDB
Register the adapter
builder.Services.AddPurviewEventSourcingAdminMongoDB();
By default the adapter reads from the EventStore database. Provide a different database name when needed:
builder.Services.AddPurviewEventSourcingAdminMongoDB(databaseName: "MyEventStore");
An IMongoClient must be registered (for example, via AddSingleton<IMongoClient> or the MongoDB driver's DI support), and the Purview.EventSourcing.MongoDB event store should use the same database and collection naming.
Prerequisites
- An
IMongoClientis registered in the container. - The
Purview.EventSourcing.MongoDBevent store writes to the same database. - The admin API and security packages must be registered and mapped (see
Purview.EventSourcing.Admin.Api).
What it provides
MongoDbAdminAggregateQueryService- aggregate search and detail retrievalMongoDbAdminEventQueryService- event-range queriesMongoDbAdminProjectionService- point-in-time projection at a version or timestamp
Documentation
Related packages
- Admin abstractions:
Purview.EventSourcing.Admin.Abstractions - Admin API:
Purview.EventSourcing.Admin.Api
| 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
- LinqKit (>= 1.3.11)
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Options (>= 10.0.12)
- Microsoft.Extensions.Telemetry.Abstractions (>= 10.10.0)
- MongoDB.Driver (>= 3.11.2)
- Purview.EventSourcing (>= 2.0.0-prerelease.35)
- Purview.EventSourcing.Admin.Abstractions (>= 2.0.0-prerelease.35)
- Purview.EventSourcing.MongoDB (>= 2.0.0-prerelease.35)
- Purview.ValueObjects (>= 1.0.0-prerelease.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0-prerelease.35 | 30 | 9/18/2026 |
| 2.0.0-prerelease.34 | 44 | 9/18/2026 |
| 2.0.0-prerelease.33 | 38 | 9/17/2026 |
| 2.0.0-prerelease.32 | 45 | 9/15/2026 |
| 2.0.0-prerelease.31 | 57 | 9/12/2026 |
| 2.0.0-prerelease.30 | 69 | 9/8/2026 |
| 2.0.0-prerelease.29 | 87 | 8/3/2026 |