I have an console application on .NET Core 2.1. I have used top-shelf to have it configure it as a windows service.
Has anyone successfully ,installed a .NET Core console application as a windows services using top-shelf.
Any documentation leading to that, would be helpful
Thanks
Topshelf is available in . net standard and that means you can use it in . net core apps.
Topshelf is a Windows service framework for the . NET platform. Topshelf makes it easy to create a Windows service, test the service, debug the service, and ultimately install it into the Windows Service Control Manager (SCM).
Was sucessfully able to install it using NSSM - the Non-Sucking Service Manager
I've written a small library that allows you to run IHostedServices
as a Windows service. The service is configured and run using Topshelf.
https://github.com/erizet/TopshelfHosting
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With