Cirreum.Runtime.Persistence.Azure 1.0.5

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

Cirreum.Runtime.Persistence.Azure

NuGet Version NuGet Downloads GitHub Release License .NET

Simplified Cirreum.Persistence.Azure configuration for Cirreum runtime applications

Overview

Cirreum.Runtime.Persistence.Azure provides a unified persistence layer configuration for the Cirreum framework. It simplifies database integration by offering a single extension method that automatically registers and configures multiple persistence providers with built-in health checks.

Installation

dotnet add package Cirreum.Runtime.Persistence.Azure

Usage

Add persistence to your application with a single line:

var builder = WebApplication.CreateBuilder(args);

// Add persistence support
builder.AddPersistence();

var app = builder.Build();

This automatically:

  • Registers Azure Cosmos DB persistence services
  • Configures health checks for database connectivity
  • Prevents duplicate service registration
  • Integrates with the Cirreum service provider infrastructure

Supported Providers

Provider Package Database
Azure Cosmos DB Cirreum.Persistence.Azure NoSQL document database

Features

  • Simple Integration: One method to configure all persistence needs
  • Multi-Provider Support: Built-in support for both NoSQL (Cosmos DB) and relational (SQL Server) databases
  • Health Checks: Automatic health check registration for monitoring
  • Duplicate Prevention: Smart registration prevents service conflicts
  • Extensible Design: Built on the Cirreum service provider pattern for easy extension

Configuration

Configure persistence providers in appsettings.json:

{
  "ServiceProviders": {
    "Persistence": {
      "Azure": {
        "default": {
          "Name": "MyCosmosDb",
          "DatabaseId": "my-database",
          "OptimizeBandwidth": true,
          "IsAutoResourceCreationEnabled": true
        }
      }
    }
  },
  "ConnectionStrings": {
    "MyCosmosDb": "AccountEndpoint=https://your-account.documents.azure.com:443/;AccountKey=..."
  }
}

The Name property resolves the connection string via Configuration.GetConnectionString(name). For production, store connection strings in Azure Key Vault using the naming convention ConnectionStrings--{Name}.

For detailed configuration options, see the individual provider documentation:

Versioning

Cirreum.Runtime.Persistence follows Semantic Versioning:

  • Major - Breaking API changes
  • Minor - New features, backward compatible
  • Patch - Bug fixes, backward compatible

Given its foundational role, major version bumps are rare and carefully considered.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Cirreum Foundation Framework
Layered simplicity for modern .NET

Product 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.

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
1.0.5 31 3/4/2026
1.0.4 97 2/5/2026
1.0.3 94 1/28/2026
1.0.2 91 1/21/2026
1.0.1 103 1/12/2026
1.0.0 97 1/11/2026