Windows service runs continuously in the background and more often used as a back-end job. Its a pain if you want to debug it,even though you use logger to capture all events.we either attach the service as a process and debug it. But TopShelf lets you eliminate all of these and allows you to debug like console application.
Topshelf has a start and stop method just like a service and also an separate command to install windows service with ease.
DocLink : https://topshelf.readthedocs.io/en/latest/installation/index.html