(there are various questions and answers for this ie here for .NET Core 2.0, this question particularly asks regards 2.1)
.NET Core 2.1 is now released together with visual studio Preview 2
I need to produce a windows service which is not a Web API (that is it will be based on a .Net Core console app)
I need .Net Core 2.1 as I will be using SignalR to talk to a .NET Core 2.1 server which is not possible from a non .NET Core 2.1 app.
With the official .NET Core 2.1 release, is there now a "native" way to produce an executable that can be added as a windows service with "sc create" ?
(That is without using external tools like nssm.cc, or PeterKottas/DotNetCore.WindowsService which is not updated to 2.1)