How to run a background service on demand - not on application startup or on a timer

前端 未结 0 1089
无人及你
无人及你 2021-01-28 21:52

In a .Net 5 Web API, I would like to run a background task that sends out bulk emails and SMSes. I know I can create a service that inherits from BackgroundService, and then add

相关标签:
回答
  • 消灭零回复
提交回复
热议问题