Magnexis.Lifecycle.Abstractions 0.1.0-alpha.1

This is a prerelease version of Magnexis.Lifecycle.Abstractions.
dotnet add package Magnexis.Lifecycle.Abstractions --version 0.1.0-alpha.1
                    
NuGet\Install-Package Magnexis.Lifecycle.Abstractions -Version 0.1.0-alpha.1
                    
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="Magnexis.Lifecycle.Abstractions" Version="0.1.0-alpha.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Magnexis.Lifecycle.Abstractions" Version="0.1.0-alpha.1" />
                    
Directory.Packages.props
<PackageReference Include="Magnexis.Lifecycle.Abstractions" />
                    
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 Magnexis.Lifecycle.Abstractions --version 0.1.0-alpha.1
                    
#r "nuget: Magnexis.Lifecycle.Abstractions, 0.1.0-alpha.1"
                    
#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 Magnexis.Lifecycle.Abstractions@0.1.0-alpha.1
                    
#: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=Magnexis.Lifecycle.Abstractions&version=0.1.0-alpha.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Magnexis.Lifecycle.Abstractions&version=0.1.0-alpha.1&prerelease
                    
Install as a Cake Tool

Lifecycle.NET

Lifecycle.NET is an async-first lifecycle framework for .NET components, services, workers, plugins, and application subsystems.

It provides validated lifecycle transitions, cancellation-aware hooks, retries, recovery supervision, graceful work draining, diagnostics, dependency graphs, transactional startup, and Generic Host integration.

Quick start

public sealed class Worker : LifecycleObject
{
    protected override Task OnStartAsync(CancellationToken cancellationToken)
        => StartWorkerAsync(cancellationToken);
}

var worker = new Worker();
await worker.InitializeAsync();
await worker.StartAsync();

See the repository README and documentation for graph orchestration, transactions, recovery, and hosting integration.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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.
  • net9.0

    • No dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Magnexis.Lifecycle.Abstractions:

Package Downloads
Magnexis.Lifecycle.Hosting

Generic Host integration for Lifecycle.NET services.

Magnexis.Lifecycle.Extensions.DependencyInjection

Microsoft dependency injection integration for Lifecycle.NET.

Magnexis.Lifecycle.Diagnostics

Transition history and in-process metrics for Lifecycle.NET.

Magnexis.Lifecycle.Graph

Dependency-aware lifecycle orchestration.

Magnexis.Lifecycle

Thread-safe, async-first lifecycle engine for .NET.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-alpha.1 50 7/31/2026

Initial prerelease foundation: lifecycle state machine, orchestration, diagnostics, recovery, draining, and Generic Host integration.