generic host
The standard .NET app shell that sets up services, settings, logging and shutdown for you.
The generic host (Host.CreateApplicationBuilder) wires configuration, logging and dependency injection, runs hosted services, and coordinates graceful shutdown.
Loading interactive…
Examples
var builder = Host.CreateApplicationBuilder(args);sets up configuration, logging and the service container in one call.
See also