dotnetcore-windows-linux-service
dotnetcore-windows-linux-service copied to clipboard
Keeping everything in one project vs 3
Hi Dejan,
Got a question - with System.ServiceProcess referenced and ServiceBase.Run(
Hi, with ServiceBase.Run() you can only run service on Windows because ServiceBase is aware of service stop event on Windows. On Linux you have to use AppHost to be aware of stopping of the service and do your clean exit