Codebelt.Bootstrapper 1.0.1

.NET 5.0
Install-Package Codebelt.Bootstrapper -Version 1.0.1
dotnet add package Codebelt.Bootstrapper --version 1.0.1
<PackageReference Include="Codebelt.Bootstrapper" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Codebelt.Bootstrapper --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Codebelt.Bootstrapper, 1.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Codebelt.Bootstrapper as a Cake Addin
#addin nuget:?package=Codebelt.Bootstrapper&version=1.0.1

// Install Codebelt.Bootstrapper as a Cake Tool
#tool nuget:?package=Codebelt.Bootstrapper&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

About

An open-source family of assemblies (MIT license) that provide a uniform and consistent way of bootstraping your code with Program.cs paired with Startup.cs.

Also, common for all, is the implementation of the IHostedService interface; this means that all project types, including the traditional console, now have option for graceful shutdown should your application require this (cronjob scenarios or similar).

It is, by heart, free, flexible and built to extend and boost your agile codebelt.

Codebelt.Bootstrapper

The core types of this lightweight boostrapper framework optimized for console apps, providing a uniform and consistent implementation of:

-project types.

Related Packages

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Codebelt.Bootstrapper:

Package Downloads
Codebelt.Bootstrapper.Web

An implementation optimized for web applications that is managed by its host.

Codebelt.Bootstrapper.Worker

An implementation optimized for worker services that is managed by its host.

Codebelt.Bootstrapper.Console

An implementation optimized for console applications that is managed by its host.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 194 12/29/2021
1.0.0 292 5/7/2021

Version: 1.0.1
Availability: .NET 5.0, .NET 6.0
 
# ALM
- ADDED TFM for .NET 6
- CHANGED Dependencies to latest and greatest with respect to TFM
 
Version: 1.0.0
Availability: .NET 5.0
 
# New Features
- ADDED BootstrapperLifetime class in the Codebelt.Bootstrapper namespace that listens for Ctrl+C or SIGTERM and initiates shutdown
- ADDED HostBuilderExtensions class in the Codebelt.Bootstrapper namespace that consist of extension methods for the IHostBuilder interface: UseBootstrapperLifetime, UseBootstrapperStartup
- ADDED IStartupFactory interface in the Codebelt.Bootstrapper namespace that provides an interface for initializing services and middleware used by an application
- ADDED ProgramRoot class in the Codebelt.Bootstrapper namespace that is the base entry point of an application responsible for registering its StartupRoot partner
- ADDED StartupFactory class in the Codebelt.Bootstrapper namespace that is the default implementation of IStartupFactory
- ADDED StartupRoot class in the Codebelt.Bootstrapper namespace that provides the base class of a conventional based Startup class