Skip to content

Instantly share code, notes, and snippets.

@Lecarvalho
Created September 15, 2019 12:44
Show Gist options
  • Save Lecarvalho/90001bd5f1c688e592737e238df8f447 to your computer and use it in GitHub Desktop.
Save Lecarvalho/90001bd5f1c688e592737e238df8f447 to your computer and use it in GitHub Desktop.
configuration .netcore use url
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>()
.UseUrls("http://localhost:5001/");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment