Sekiban.Dcb.BlobStorage.AzureStorage 10.1.4

dotnet add package Sekiban.Dcb.BlobStorage.AzureStorage --version 10.1.4
                    
NuGet\Install-Package Sekiban.Dcb.BlobStorage.AzureStorage -Version 10.1.4
                    
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="Sekiban.Dcb.BlobStorage.AzureStorage" Version="10.1.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sekiban.Dcb.BlobStorage.AzureStorage" Version="10.1.4" />
                    
Directory.Packages.props
<PackageReference Include="Sekiban.Dcb.BlobStorage.AzureStorage" />
                    
Project file
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 Sekiban.Dcb.BlobStorage.AzureStorage --version 10.1.4
                    
#r "nuget: Sekiban.Dcb.BlobStorage.AzureStorage, 10.1.4"
                    
#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 Sekiban.Dcb.BlobStorage.AzureStorage@10.1.4
                    
#: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=Sekiban.Dcb.BlobStorage.AzureStorage&version=10.1.4
                    
Install as a Cake Addin
#tool nuget:?package=Sekiban.Dcb.BlobStorage.AzureStorage&version=10.1.4
                    
Install as a Cake Tool

Sekiban.Dcb.BlobStorage.AzureStorage

Azure Blob Storage integration for Sekiban Dynamic Consistency Boundary (DCB) framework.

📚 Full Documentation: sekiban.dev

Sekiban Implementations

Implementation Status
Sekiban DCB ✅ Recommended
Sekiban.Pure ⚠️ Deprecated

Overview

This package provides Azure Blob Storage-based snapshot offloading for Sekiban DCB MultiProjection. It enables efficient storage of large projection state snapshots in Azure Blob Storage, reducing memory pressure and improving scalability for projections with significant state.

Features

  • Binary Snapshot Storage: Efficiently stores projection snapshots as binary data in Azure Blob Storage
  • Automatic Container Management: Automatically creates blob containers if they don't exist
  • Flexible Configuration: Supports both connection string and BlobServiceClient-based initialization
  • Prefix Support: Organize snapshots with custom prefixes for multi-tenant scenarios

Installation

dotnet add package Sekiban.Dcb.BlobStorage.AzureStorage --version 1.0.2-preview03

Usage

Basic Setup with Connection String

services.AddSingleton<IBlobStorageSnapshotAccessor>(sp =>
{
    var connectionString = configuration["AzureStorage:ConnectionString"];
    return new AzureBlobStorageSnapshotAccessor(
        connectionString,
        "multiprojection-snapshots", // Container name
        "production"                  // Optional prefix
    );
});
services.AddSingleton<IBlobStorageSnapshotAccessor>(sp =>
{
    var blobServiceClient = sp.GetRequiredService<BlobServiceClient>();
    return new AzureBlobStorageSnapshotAccessor(
        blobServiceClient,
        "multiprojection-snapshots"  // Container name
    );
});

With Aspire and Keyed Services

services.AddSingleton<IBlobStorageSnapshotAccessor>(sp =>
{
    // Use Aspire-configured BlobServiceClient
    var blobServiceClient = sp.GetRequiredKeyedService<BlobServiceClient>("MultiProjectionOffload");
    return new AzureBlobStorageSnapshotAccessor(
        blobServiceClient,
        "multiprojection-snapshots"
    );
});

Integration with Sekiban DCB Orleans

This package is designed to work seamlessly with Sekiban.Dcb.Orleans for snapshot offloading in MultiProjection grains:

// In Orleans silo configuration
siloBuilder.ConfigureServices(services =>
{
    // Register the Azure Blob Storage snapshot accessor
    services.AddSingleton<IBlobStorageSnapshotAccessor>(sp =>
    {
        var blobServiceClient = sp.GetRequiredKeyedService<BlobServiceClient>("MultiProjectionOffload");
        return new AzureBlobStorageSnapshotAccessor(blobServiceClient, "snapshots");
    });
});

Configuration Options

Container Names

  • Default: multiprojection-snapshots
  • Customize based on your application needs
  • Containers are created automatically if they don't exist

Prefixes

  • Use prefixes to organize snapshots by environment, tenant, or feature
  • Example: production/, tenant-123/, feature-x/

Requirements

  • .NET 9.0 or later
  • Azure Storage Account (or Azurite for local development)
  • Sekiban.Dcb package

Dependencies

  • Azure.Storage.Blobs (12.22.2)
  • Sekiban.Dcb (1.0.2-preview03)

License

Apache-2.0

Support

For issues, questions, or contributions, please visit: https://github.com/J-Tech-Japan/Sekiban

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Sekiban.Dcb.BlobStorage.AzureStorage:

Package Downloads
Sekiban.Dcb.ColdStorage

Sekiban DCB cold object storage implementations and factory

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.1.4 0 3/10/2026
10.1.3 37 3/10/2026
10.1.2 51 3/9/2026
10.1.1 41 3/7/2026
10.1.0-preview12 37 3/7/2026
10.1.0-preview11 34 3/7/2026
10.1.0-preview10 36 3/6/2026
10.1.0-preview09 38 3/6/2026
10.1.0-preview08 120 3/6/2026
10.1.0-preview07 524 2/18/2026
10.1.0-preview06 122 2/18/2026
10.1.0-preview05 93 2/18/2026
10.1.0-preview04 98 2/18/2026
10.1.0-preview03 87 2/17/2026
10.1.0-preview02 325 2/10/2026
10.1.0-preview01 355 2/3/2026
10.0.8 106 1/29/2026
10.0.7 102 1/28/2026
10.0.6 396 1/28/2026
10.0.5 110 1/24/2026
Loading failed