3

So, using the new HostBuilder in .net core 2.1.0-preview1-final, we can run a console app in console-service-mode, but that means when I accidentaly close the console, my service will be stopped.

Is there a way to run this console-service-app as/inside a windows-service with usage of some microsoft .net core components instead of using e.g. dasMulli/dotnet-win32-service? or other 3rd parties?

I created a (non Grpc) service like in this question: Keep Dotnet Core Grpc Server running as a console application?

I'm aware of the 3rd party tools over here: Writing windows service in .net core

ekad
  • 14,436
  • 26
  • 44
  • 46
R. van Diesen
  • 829
  • 8
  • 10
  • https://stackoverflow.com/questions/50848141/netcore-2-1-generic-host-as-a-servicehttps://stackoverflow.com/questions/50848141/netcore-2-1-generic-host-as-a-service – Thulani Chivandikwa May 02 '19 at 21:19

0 Answers0