AddHostedService Implementation choosen on startup
I was fiddling around with a solution to add 1 HostedService, depending on a enum value(config setting). but i was wondering if there is a better solution than just a bet switch statement?
1 Reply
something like this is my current solution