Table of Contents

Namespace Codebelt.Bootstrapper.Console

The Codebelt.Bootstrapper.Console namespace offers an implementation optimized for console applications that is managed by its host.

Availability: .NET 9 and .NET 8

Extension Methods

Type Ext Methods
HostApplicationBuilder ⬇️ UseBootstrapperProgram, UseMinimalConsoleProgram
IHostBuilder ⬇️ UseConsoleStartup

Classes

ConsoleHostedService<TStartup>

Provides a console application that is managed by its host.

ConsoleProgram<TStartup>

The base entry point of an application responsible for registering its ConsoleStartup partner.

ConsoleStartup

Provides the base class of a conventional based Startup class for a console application.

HostApplicationBuilderExtensions

Extension methods for the IHostApplicationBuilder.

HostBuilderExtensions

Extension methods for the IHostBuilder.

MinimalConsoleHostedService

Provides a console application that is managed by its host.

MinimalConsoleProgram

The base entry point of an application optimized for console applications.

ProgramFactory

The default implementation of IProgramFactory.

Interfaces

IProgramFactory

Provides an interface for initializing services and middleware used by an application.