Genocs.Saga.Integrations.MongoDB
9.0.0-beta008
Requires NuGet 5.0.0 or higher.
dotnet add package Genocs.Saga.Integrations.MongoDB --version 9.0.0-beta008
NuGet\Install-Package Genocs.Saga.Integrations.MongoDB -Version 9.0.0-beta008
<PackageReference Include="Genocs.Saga.Integrations.MongoDB" Version="9.0.0-beta008" />
<PackageVersion Include="Genocs.Saga.Integrations.MongoDB" Version="9.0.0-beta008" />
<PackageReference Include="Genocs.Saga.Integrations.MongoDB" />
paket add Genocs.Saga.Integrations.MongoDB --version 9.0.0-beta008
#r "nuget: Genocs.Saga.Integrations.MongoDB, 9.0.0-beta008"
#:package Genocs.Saga.Integrations.MongoDB@9.0.0-beta008
#addin nuget:?package=Genocs.Saga.Integrations.MongoDB&version=9.0.0-beta008&prerelease
#tool nuget:?package=Genocs.Saga.Integrations.MongoDB&version=9.0.0-beta008&prerelease
Genocs.Saga.Integrations.MongoDB

MongoDB storage integration for Genocs saga state management. Supports net10.0, net9.0, and net8.0.
Installation
dotnet add package Genocs.Saga.Integrations.MongoDB
Getting Started
Use this package to persist saga state and correlation data in MongoDB when used with Genocs.Saga.
MongoDB client management is delegated to Genocs.Persistence.MongoDB, so the saga
integration shares the same IMongoClient and IMongoDatabase registrations used by
the rest of the Genocs host. This avoids duplicate client instances and centralizes
MongoDB configuration in a single place.
// Configure MongoDB once via Genocs.Persistence.MongoDB
genocs.AddMongo();
builder.Services.AddSaga(saga =>
{
// Reuse the IMongoDatabase registered above.
saga.UseMongoPersistence();
});
Alternative overloads still let you bind options from configuration or supply
MongoOptions explicitly. In both cases the MongoDB client is registered through
Genocs.Persistence.MongoDB so a single client pipeline is reused.
saga.UseMongoPersistence(builder.Configuration); // reads "mongoDb" section
saga.UseMongoPersistence(builder.Configuration, "myMongo"); // custom section name
saga.UseMongoPersistence(new MongoOptions { ... }); // explicit options
Main Entry Points
UseMongoPersistence(parameterless, withIConfiguration, or withMongoOptions)
Support
- Documentation Portal: https://learn.fiscanner.net/
- Documentation: https://github.com/Genocs/genocs-library/tree/main/docs
- Repository: https://github.com/Genocs/genocs-library
Release Notes
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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
- Genocs.Core (>= 9.0.0-beta008)
- Genocs.Persistence.MongoDB (>= 9.0.0-beta008)
- Genocs.Saga (>= 9.0.0-beta008)
-
net8.0
- Genocs.Core (>= 9.0.0-beta008)
- Genocs.Persistence.MongoDB (>= 9.0.0-beta008)
- Genocs.Saga (>= 9.0.0-beta008)
- Microsoft.Extensions.Configuration (>= 10.0.7)
-
net9.0
- Genocs.Core (>= 9.0.0-beta008)
- Genocs.Persistence.MongoDB (>= 9.0.0-beta008)
- Genocs.Saga (>= 9.0.0-beta008)
- Microsoft.Extensions.Configuration (>= 10.0.7)
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 |
|---|---|---|
| 9.0.0-beta008 | 59 | 5/2/2026 |
| 9.0.0-beta007 | 57 | 4/29/2026 |
| 9.0.0-beta006 | 54 | 4/27/2026 |
| 9.0.0-beta005 | 54 | 4/26/2026 |
| 9.0.0-beta004 | 51 | 4/18/2026 |
| 9.0.0-beta003 | 67 | 4/5/2026 |
| 9.0.0-beta002 | 63 | 3/17/2026 |
| 9.0.0-beta001 | 62 | 2/28/2026 |
The change log and breaking changes are listed here.
https://github.com/Genocs/genocs-library/releases