One lifecycle model for .NET.
Lifecycle.NET provides validated, async-first state transitions, middleware, diagnostics, dependency graphs, and Generic Host integration.
Quick start
Install the official package from NuGet.org: Magnexis.Lifecycle.
dotnet add package Magnexis.Lifecycle --version 0.1.0-alpha.1
var worker = new Worker();
await worker.InitializeAsync();
await worker.StartAsync();
await worker.StopAsync();Designed for real runtimes
Use it with background workers, services, plugins, desktop apps, and distributed components. Transition operations are serialized, cancellation-aware, and observable.