Cirreum.Services.Server
1.0.30
dotnet add package Cirreum.Services.Server --version 1.0.30
NuGet\Install-Package Cirreum.Services.Server -Version 1.0.30
<PackageReference Include="Cirreum.Services.Server" Version="1.0.30" />
<PackageVersion Include="Cirreum.Services.Server" Version="1.0.30" />
<PackageReference Include="Cirreum.Services.Server" />
paket add Cirreum.Services.Server --version 1.0.30
#r "nuget: Cirreum.Services.Server, 1.0.30"
#:package Cirreum.Services.Server@1.0.30
#addin nuget:?package=Cirreum.Services.Server&version=1.0.30
#tool nuget:?package=Cirreum.Services.Server&version=1.0.30
Cirreum.Services.Server
Infrastructure services for .NET server applications
Overview
Cirreum.Services.Server provides essential infrastructure services for .NET server applications (Web API and Web App). This library offers a comprehensive foundation with enterprise-grade patterns for exception handling, caching, security, health checks, and file system operations.
Features
- Global Exception Handling: RFC 7807 compliant Problem Details with environment-aware responses
- Hybrid Caching: Modern caching infrastructure with tag-based invalidation and smart expiration policies
- Security Services: Claims-based user context management and authentication integration
- Health Checks: Application readiness probes and startup health monitoring
- File System Services: Resilient local file operations with CSV processing capabilities
- DateTime Services: Timezone-aware clock services with TimeProvider integration
- Dependency Injection: Clean service registration patterns following .NET conventions
Quick Start
Install the package:
dotnet add package Cirreum.Services.Server
Register services in your application:
using Microsoft.Extensions.DependencyInjection;
// Add core infrastructure services
builder.Services.AddCoreServices();
// Add global exception handling
builder.Services.AddGlobalExceptionHandling();
// Add health checks with startup probe
builder.Services.AddDefaultHealthChecks();
Service Registration
The library provides extension methods for clean service registration:
AddCoreServices()- Registers file system, datetime, security, and caching servicesAddGlobalExceptionHandling()- Configures RFC 7807 exception handling pipelineAddDefaultHealthChecks()- Sets up health check infrastructure with startup monitoring
Architecture
Built on the IServerDomainApplicationBuilder pattern extending IDomainApplicationBuilder, providing:
- Configuration management through
IConfigurationManager - Host environment information via
IHostEnvironment - Deferred logging capabilities for startup diagnostics
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.Services.Server 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
- Cirreum.Core (>= 1.0.40)
- Polly (>= 8.6.5)
- Polly.Contrib.WaitAndRetry (>= 1.1.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Cirreum.Services.Server:
| Package | Downloads |
|---|---|
|
Cirreum.Runtime.Server
The Cirreum Runtime for Servers. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.30 | 112 | 2/5/2026 |
| 1.0.29 | 116 | 1/31/2026 |
| 1.0.28 | 97 | 1/31/2026 |
| 1.0.27 | 104 | 1/23/2026 |
| 1.0.26 | 98 | 1/22/2026 |
| 1.0.25 | 97 | 1/21/2026 |
| 1.0.24 | 107 | 1/12/2026 |
| 1.0.23 | 110 | 1/11/2026 |
| 1.0.22 | 115 | 1/5/2026 |
| 1.0.21 | 109 | 1/5/2026 |
| 1.0.20 | 107 | 1/2/2026 |
| 1.0.19 | 121 | 1/1/2026 |
| 1.0.18 | 112 | 12/30/2025 |
| 1.0.17 | 103 | 12/29/2025 |
| 1.0.16 | 101 | 12/29/2025 |
| 1.0.15 | 113 | 12/29/2025 |
| 1.0.14 | 105 | 12/29/2025 |
| 1.0.12 | 201 | 12/22/2025 |
| 1.0.11 | 186 | 12/22/2025 |
| 1.0.10 | 129 | 12/20/2025 |