Sendproof.MongoDB
0.1.0-alpha.2
See the version list below for details.
dotnet add package Sendproof.MongoDB --version 0.1.0-alpha.2
NuGet\Install-Package Sendproof.MongoDB -Version 0.1.0-alpha.2
<PackageReference Include="Sendproof.MongoDB" Version="0.1.0-alpha.2" />
<PackageVersion Include="Sendproof.MongoDB" Version="0.1.0-alpha.2" />
<PackageReference Include="Sendproof.MongoDB" />
paket add Sendproof.MongoDB --version 0.1.0-alpha.2
#r "nuget: Sendproof.MongoDB, 0.1.0-alpha.2"
#:package Sendproof.MongoDB@0.1.0-alpha.2
#addin nuget:?package=Sendproof.MongoDB&version=0.1.0-alpha.2&prerelease
#tool nuget:?package=Sendproof.MongoDB&version=0.1.0-alpha.2&prerelease
Sendproof.MongoDB
Previews for the MongoDB .NET driver in Sendproof. On a replica set or sharded cluster a Preview
runs in a transaction (snapshot read concern, majority write concern) that is aborted after the handler, and its document
changes are captured. On a standalone server MongoDB can't run transactions, so the Preview runs in guard mode: reads run
and the first write blocks it. See the .NET data-stores page for setup, the preview: false mark and
what the hook does not cover. An observed Send (Prefer: trace) commits its writes and traces the same document changes,
before and after, on a replica set or a standalone server alike.
builder.Services.AddSingleton<IMongoClient>(new MongoClient(mongoUrl));
builder.Services.AddSendproof()
.AddEntityFrameworkCore<AppDbContext>()
.AddMongoDB(mongo => mongo.WithName("catalog"));
Register the client first: AddMongoDB replaces that registration with a decorator whose databases and collections add the
Preview's session to every call.
| 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
- MongoDB.Driver (>= 3.14.1)
- Sendproof.AspNetCore (>= 0.1.0-alpha.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 |
|---|---|---|
| 0.1.0-alpha.3 | 46 | 11/24/2026 |
| 0.1.0-alpha.2 | 52 | 11/24/2026 |
| 0.1.0-alpha.1 | 58 | 11/22/2026 |