Closed xiaomi7732 closed 1 year ago
StartupFilter works only with ASP.NET Core; BackgroundService works for both ASP.NET Core and Generic Host (Worker). Verify it works for the Console Application (where there's no host) too.
StartupFilter
BackgroundService
FYI: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/host/hosted-services?view=aspnetcore-6.0&tabs=visual-studio
Very much related to #140
StartupFilter
works only with ASP.NET Core;BackgroundService
works for both ASP.NET Core and Generic Host (Worker). Verify it works for the Console Application (where there's no host) too.