dasMulli / dotnet-win32-service

Helper classes to set up and run as windows services directly on .net core. A ServiceBase alternative.
MIT License
451 stars 57 forks source link

Provide an Extension to IWebHost #57

Closed Trapov closed 6 years ago

Trapov commented 6 years ago

First of all thank you for the project, you saved me a lot of time.

Problem: I want to run my ASP.NET Core as a service, but examples are so big, they don't give an idea how to simple configure it and run.

So what i suggest is an IWebHost extension, that's just easy to set-up. Kinda an analogy to this:

https://github.com/aspnet/Hosting/blob/dev/src/Microsoft.AspNetCore.Hosting.WindowsServices/WebHostWindowsServiceExtensions.cs

dasMulli commented 6 years ago

Implemented by #58 and #59