Search
Setup for Free
C
C#
•
4y ago
Poller
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
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,145
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
✅ AddHttpClient and AddHostedService
C
C# / help
16mo ago
❔ FluentValidation on startup
C
C# / help
3y ago
✅ BackgroundService blocking on Startup
C
C# / help
2mo ago
❔ Webbrowser/Webbox flickers on startup
C
C# / help
3y ago