host WebApplication and BackgroundService in the same application using WebApplication.CreateBuilder method
I am trying out new application configuration method using WebApplication.CreateBuilder(args)
method, I am trying to run web application and hosted service in the same application. Running just web application works fine but when I add