Cirreum.Startup
1.0.115
dotnet add package Cirreum.Startup --version 1.0.115
NuGet\Install-Package Cirreum.Startup -Version 1.0.115
<PackageReference Include="Cirreum.Startup" Version="1.0.115" />
<PackageVersion Include="Cirreum.Startup" Version="1.0.115" />
<PackageReference Include="Cirreum.Startup" />
paket add Cirreum.Startup --version 1.0.115
#r "nuget: Cirreum.Startup, 1.0.115"
#:package Cirreum.Startup@1.0.115
#addin nuget:?package=Cirreum.Startup&version=1.0.115
#tool nuget:?package=Cirreum.Startup&version=1.0.115
Cirreum - Startup Library
This package defines contracts and extension methods for startup services in C# .NET and Blazor applications.
Description
Cirreum.Startup allows developers to define one or more classes that implement specific interfaces, which are then automatically executed during application startup. This is particularly useful for initializing services, performing setup tasks, or executing configuration logic before the application begins its normal operation.
Key Interfaces
1. ISystemInitializer
- Purpose: Defines a service that performs core application initialization, setup, or configuration.
- Execution Order: Runs first, before any other startup services.
- Usage: Typically used by component/library/service authors for critical system setup.
- Restrictions: Must not depend on other startup interfaces.
2. IAutoInitialize
- Purpose: Allows existing services to be automatically initialized during application startup.
- Execution Order: Runs after ISystemInitializer and before IStartupTask.
- Usage: Useful for services that need initialization before they can be used.
- Auto-registration: The system attempts to auto-register services implementing this interface.
3. IStartupTask
- Purpose: Defines a service that performs tasks after the application has been initialized.
- Execution Order: Runs last, after ISystemInitializer and IAutoInitialize.
- Customizable Priority: Includes an
Orderproperty to specify execution priority.
Important Notes
- These interfaces are intended for Singleton services (Scoped in Blazor WASM).
- Services implementing these interfaces are materialized during startup and are not disposed.
- Each interface's primary method (RunAsync, InitializeAsync, ExecuteAsync) is called only once during application startup.
Usage
Implement the appropriate interface based on your initialization needs:
- Use
ISystemInitializerfor core system setup. - Use
IAutoInitializefor general service initialization. - Use
IStartupTaskfor tasks that should run after the application is fully initialized.
Refer to individual interface documentation for detailed usage examples and restrictions.
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
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.7)
- OpenTelemetry.Extensions.Hosting (>= 1.15.3)
NuGet packages (8)
Showing the top 5 NuGet packages that depend on Cirreum.Startup:
| Package | Downloads |
|---|---|
|
Cirreum.Components.WebAssembly
The Cirreum Component Library for WebAssembly. |
|
|
Cirreum.Runtime.Server
The Cirreum Runtime for Servers. |
|
|
Cirreum.Services.Client
The Services Infrastructure Library for WebAssembly Client applications. |
|
|
Cirreum.Runtime.Messaging
The Runtime Messaging service configuration. |
|
|
Cirreum.Runtime.Serverless
The Cirreum Runtime Serverless. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.115 | 267 | 4/24/2026 |
| 1.0.114 | 235 | 4/14/2026 |
| 1.0.113 | 367 | 4/9/2026 |
| 1.0.112 | 1,089 | 3/13/2026 |
| 1.0.111 | 148 | 3/12/2026 |
| 1.0.110 | 212 | 3/9/2026 |
| 1.0.109 | 274 | 3/6/2026 |
| 1.0.108 | 406 | 1/23/2026 |
| 1.0.107 | 263 | 1/21/2026 |
| 1.0.106 | 1,154 | 12/20/2025 |
| 1.0.105 | 507 | 12/16/2025 |
| 1.0.104 | 504 | 11/28/2025 |
| 1.0.103 | 626 | 11/11/2025 |
| 1.0.102 | 261 | 11/11/2025 |
| 1.0.101 | 262 | 11/11/2025 |
| 1.0.100 | 162 | 11/7/2025 |