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
<PackageReference Include="Cirreum.Runtime.Serverless" Version="1.0.24" />
<PackageVersion Include="Cirreum.Runtime.Serverless" Version="1.0.24" />
<PackageReference Include="Cirreum.Runtime.Serverless" />
paket add Cirreum.Runtime.Serverless --version 1.0.24
#r "nuget: Cirreum.Runtime.Serverless, 1.0.24"
#:package Cirreum.Runtime.Serverless@1.0.24
#addin nuget:?package=Cirreum.Runtime.Serverless&version=1.0.24
#tool nuget:?package=Cirreum.Runtime.Serverless&version=1.0.24
Cirreum.Runtime.Serverless
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
FunctionsApplicationBuilderfor 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
Be conservative with new abstractions
The API surface must remain stable and meaningful.Limit dependency expansion
Only add foundational, version-stable dependencies.Favor additive, non-breaking changes
Breaking changes ripple through the entire ecosystem.Include thorough unit tests
All primitives and patterns should be independently testable.Document architectural decisions
Context and reasoning should be clear for future maintainers.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 | 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. |
-
net10.0
- Azure.Identity (>= 1.17.1)
- Cirreum.Logging.Deferred (>= 1.0.106)
- Cirreum.Services.Serverless (>= 1.0.24)
- Cirreum.Startup (>= 1.0.108)
- Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore (>= 2.1.0)
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 |