Creating Windows and Linux background services in dotnet 6.0/7.0

from blog The Angry Dev, | ↗ original
There are times when you need an application to just sit there in the background and deal with the same repetitive task over and over again. In dotnet core 3.0, a new type of template was introduced, “Worker Service”, which is a very easy way of creating Windows Services and Linux Daemons, and it is just as easy in dotnet 6 and 7 (if not, even...