Cirreum.Runtime.Serverless 1.0.24

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

Cirreum.Runtime.Serverless

NuGet Version NuGet Downloads GitHub Release License .NET

Domain-driven runtime abstractions for Azure Functions serverless applications

Overview

Cirreum.Runtime.Serverless provides a comprehensive runtime abstraction layer for building domain-driven Azure Functions applications. It extends the Azure Functions Worker SDK with opinionated patterns for dependency injection, remote service communication, and application startup while maintaining the flexibility needed for serverless architectures.

Key Features

  • Domain Application Builder - Fluent API extending FunctionsApplicationBuilder for configuring domain-driven serverless applications
  • Remote Service Integration - Built-in HTTP client configuration with multiple authentication methods (Managed Identity, Client Secret, Authorization Header)
  • Authorization Framework - Role-based authorization with automatic service initialization
  • Startup Tasks - Extensible initialization system for application startup
  • Token Management - Automatic bearer token handling with intelligent caching
  • Cloud-Native Security - Deep integration with Azure Identity for secure authentication

Quick Start

using Cirreum.Runtime.Serverless;

var builder = DomainApplication.CreateBuilder(args);

// Configure services
builder.Services.AddDomainServices();
builder.Services.AddRemoteService("MyApi", options =>
{
    options.BaseAddress = "https://api.example.com";
    options.AuthenticationMode = RemoteServiceAuthenticationMode.ManagedIdentity;
});

// Build and run
var app = builder.Build();
await app.RunAsync();

Remote Service Configuration

The library provides comprehensive support for inter-service communication in serverless environments:

builder.Services.AddRemoteService("ServiceName", options =>
{
    options.BaseAddress = "https://service.example.com";
    options.AuthenticationMode = RemoteServiceAuthenticationMode.ClientSecret;
    options.ClientId = "your-client-id";
    options.ClientSecret = "your-client-secret"; // Use Azure Key Vault in production
    options.Scopes = new[] { "api://service/.default" };
});

Authentication Modes

  • ManagedIdentity - Uses Azure Managed Identity for authentication
  • ClientSecret - Traditional client credentials flow
  • AuthorizationHeader - Custom authorization header support
  • None - No authentication (for public APIs)

Architecture

The library follows domain-driven design principles with clear separation of concerns:

DomainApplication (Entry Point)
    ├── DomainApplicationBuilder (Configuration)
    ├── Remote Services (External Communication)
    ├── Authorization (Security)
    └── Startup Tasks (Initialization)

Contribution Guidelines

  1. Be conservative with new abstractions
    The API surface must remain stable and meaningful.

  2. Limit dependency expansion
    Only add foundational, version-stable dependencies.

  3. Favor additive, non-breaking changes
    Breaking changes ripple through the entire ecosystem.

  4. Include thorough unit tests
    All primitives and patterns should be independently testable.

  5. Document architectural decisions
    Context and reasoning should be clear for future maintainers.

  6. Follow .NET conventions
    Use established patterns from Microsoft.Extensions.* libraries.

Versioning

Cirreum.Runtime.Serverless 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.24 94 2/5/2026
1.0.23 89 1/28/2026
1.0.22 90 1/21/2026
1.0.21 99 1/12/2026
1.0.20 99 1/11/2026
1.0.19 100 1/5/2026
1.0.18 94 1/5/2026
1.0.17 94 1/2/2026
1.0.16 94 1/1/2026
1.0.15 100 12/30/2025
1.0.14 92 12/29/2025
1.0.12 97 12/29/2025
1.0.11 89 12/29/2025
1.0.10 94 12/29/2025
1.0.9 174 12/22/2025
1.0.8 107 12/20/2025
1.0.7 259 12/19/2025
1.0.6 280 12/16/2025
1.0.5 174 12/5/2025
1.0.4 433 12/1/2025
Loading failed