Creating a Windows Service
- Tutorial: Create a Windows service app - .NET Framework | Microsoft Docs
- A Service also has to be installed and started when deployed
- This is normally done through the "Computer Management" program and using the "installutil".exe that comes with .NET Framework
Debugging the service
https://stackoverflow.com/questions/16604822/running-windows-service-application-without-installing-it
- But to debug the service, it is a good idea to just publices the logic and that call that from the program