Windows services

References

Introduction
Walkthrough

Steps

1. Create a service
New Project - Installed - Templates - Visual C# - Windows - Classic Desktop - Windows service
2. Add Installers to the service
Go to the designer of the service - Right click: Add Installer
3. Build the service
4. Install the service
In the Developer Command Prompt:
installutil.exe MyNewService.exe
5. Start and run the service
In the Developer Command Prompt:
services.msc
In the Services window, right click on your service and select Start…

Debugging

https://msdn.microsoft.com/en-us/library/7a50syb3%28v=vs.110%29.aspx

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License