This repository was archived by the owner on Dec 19, 2018. It is now read-only.

Description
After UseDefaultHostingConfiguration removed,
"dotnet run /server.urls http://xyz:5000" does not work any more. Neither does ""server.urls": "http://xyz:5000/"" in hosting.json. Only "UseUrls("http://xyz:5000")" in code works.
The following lines in Startup() seem dummy:
.AddCommandLine(args)
.AddEnvironmentVariables(prefix: "ASPNETCORE_")
.AddJsonFile("hosting.json", optional: true)
Also 'args' is not available in Startup(), assigning it in main() to another static variable just for it is too much.