Community Center | Not monitored
Tag not monitored by Microsoft.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have created a console app using .net 5 target framework. In Program.cs, I am creating two hostedservice(services.AddHostedService) under two hosts(Host.CreateDefaultBuilder with some config). How would I bootstrap this in-memory for writing/running integration tests? I am not using WebHost(or other AspNetCore packages), so can I still use WebApplicationFactory for this scenario(and configure an empty web app)?
Tag not monitored by Microsoft.