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.
v1.0.7 => Added event "WebHostBuilderBeforeBuild". This gives ability to configure builder on your choice. Event raises before "IWebHostBuilder.Build()" command.
v1.0.8 => Added command --docker. If applied "*" will be used for binding in kestrel.
v1.0.9 => Bug fixed parsing Uri.