Use the Microsoft.Extensions.Hosting NuGet package to create a custom application builder and application to allow users to configure dependency injection, logging and configuration, and add handlers to application lifecycle events. This should mirror the way that ASP.NET Core handles hosting.
Use the
Microsoft.Extensions.HostingNuGet package to create a custom application builder and application to allow users to configure dependency injection, logging and configuration, and add handlers to application lifecycle events. This should mirror the way that ASP.NET Core handles hosting.