Intro to Windows Services in C# - How to create, install, and use a service using Topshelf
Full courses:
Blog Post:
Patreon:
Newsletter signup:
Topshelf Link:
Services in Windows are really powerful tools for automation, but they are often overlooked. These small applications run constantly in the background and can be used for a number of tasks from the simple to the complex. In this video, we are going to look at how to create a service, how to run it and debug it, and how to install it.
0:00 - Intro
0:51 - Creating Console Demo Application
1:45 - What is a Windows Service
3:30 - Visual Studio service app template vs console app
5:00 - Topshelf NuGet reference
5:58 - Service app code design
20:49 - Running the Service App
22:07 - Installing and uninstalling the Service
26:44 - Recap
27:11 - Ideas for a Service Applications
30:10 - Summary and concluding remarks
Thanks to Ralfs HBK fo