Running an ASP.NET Core Application as a Windows Service

ASP.NET Core 2.1 introduces a new application host for Windows services. We can now run ASP.NET Core applications as Windows services with minimal effort. This blog post introduces how it is done and how to build and run Windows services on ASP.NET Core without any need for dirty hacks.
Creating a Default Web Application
We start with new default ASP.NET Core 2.1 web application.

Link: https://dzone.com/articles/running-aspnet-core-application-as-windows-service?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev