Transform your .Net core Api into All in one service. With your self contained build for Win64 you are able to Install and run your Api as Windows service, Self host with double click or even host in IIS proxy. One build does everything.
Use following code in Program.cs:
public static void Main(string args)
It will bind local ip address from first adapter and use port 5300. You can change these passing additional parameters after "args" parameter.
See the version list below for details.
Install-Package JorJika.Api.WindowsService -Version 1.0.6
dotnet add package JorJika.Api.WindowsService --version 1.0.6
<PackageReference Include="JorJika.Api.WindowsService" Version="1.0.6" />
paket add JorJika.Api.WindowsService --version 1.0.6
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.