WalFlow.Stores.CosmosDb
0.1.0-alpha.alpha.20260708090623
This is a prerelease version of WalFlow.Stores.CosmosDb.
dotnet add package WalFlow.Stores.CosmosDb --version 0.1.0-alpha.alpha.20260708090623
NuGet\Install-Package WalFlow.Stores.CosmosDb -Version 0.1.0-alpha.alpha.20260708090623
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="WalFlow.Stores.CosmosDb" Version="0.1.0-alpha.alpha.20260708090623" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WalFlow.Stores.CosmosDb" Version="0.1.0-alpha.alpha.20260708090623" />
<PackageReference Include="WalFlow.Stores.CosmosDb" />
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 WalFlow.Stores.CosmosDb --version 0.1.0-alpha.alpha.20260708090623
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WalFlow.Stores.CosmosDb, 0.1.0-alpha.alpha.20260708090623"
#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 WalFlow.Stores.CosmosDb@0.1.0-alpha.alpha.20260708090623
#: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=WalFlow.Stores.CosmosDb&version=0.1.0-alpha.alpha.20260708090623&prerelease
#tool nuget:?package=WalFlow.Stores.CosmosDb&version=0.1.0-alpha.alpha.20260708090623&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
WalFlow.Stores.CosmosDb
Azure Cosmos DB-backed IReplicationStore for WalFlow.
Stores one JSON state document per replication slot, partitioned by slot key.
Install
dotnet add package WalFlow.Stores.CosmosDb
Configuration
{
"CosmosDbStore": {
"Endpoint": "https://<account>.documents.azure.com:443/",
"Key": "<account-key>",
"DatabaseId": "walflow",
"ContainerId": "replication_state",
"AutoCreateResources": true
}
}
Usage
services.Configure<CosmosDbStoreOptions>(
configuration.GetSection(CosmosDbStoreOptions.SectionName));
services.AddSingleton<IReplicationStore, CosmosDbStore>();
Inline DI Registration
services.AddSingleton<IReplicationStore>(sp =>
{
var options = Options.Create(new CosmosDbStoreOptions
{
Endpoint = "https://<account>.documents.azure.com:443/",
Key = "<account-key>",
DatabaseId = "walflow",
ContainerId = "replication_state",
AutoCreateResources = true
});
return new CosmosDbStore(
options,
sp.GetRequiredService<ILogger<CosmosDbStore>>());
});
Notes
AutoCreateResourcescan create database/container on startup.- Partition key path must be
/slotName; custom partition key paths are rejected because state and schema history operations partition records by slot name. - Good fit for managed cloud deployments needing shared state.
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.Azure.Cosmos (>= 3.61.0)
- Microsoft.Extensions.DependencyInjection (>= 10.0.9)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Logging (>= 10.0.9)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Options (>= 10.0.9)
- Newtonsoft.Json (>= 13.0.4)
- WalFlow.Abstractions (>= 0.1.0-alpha.alpha.20260708090623)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on WalFlow.Stores.CosmosDb:
| Package | Downloads |
|---|---|
|
WalFlow
Meta-package that pulls in the full WalFlow CDC stack for consumers who want the default everything-included setup. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.alpha... | 85 | 7/8/2026 |
| 0.1.0-alpha.alpha... | 79 | 3/30/2026 |