Hey Mohamad! I've been watching your videos, and currently you are my most reliable source for .NET, thank you for your contribution, keep doing what you do best!
yes, it does start automatically (after registering it in your `Program.cs`). If you want it to run once, remove the timer or any loop you are doing in the background service and it will run once.
Very well articulated content.
Thank you Joy
Hey Mohamad! I've been watching your videos, and currently you are my most reliable source for .NET, thank you for your contribution, keep doing what you do best!
Thanks, Joao! What a nice thing to say 🙏Stay tuned for more 🚀
Hi, one question: How to manually start background service? That is, it does not start automatically when the web API is run for the first time. 🤔
yes, it does start automatically (after registering it in your `Program.cs`). If you want it to run once, remove the timer or any loop you are doing in the background service and it will run once.