Skip to content

Instantly share code, notes, and snippets.

@Drawaes
Created February 18, 2018 01:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Drawaes/d7da2dcb02a3a95ac64ca72aab938113 to your computer and use it in GitHub Desktop.
Save Drawaes/d7da2dcb02a3a95ac64ca72aab938113 to your computer and use it in GitHub Desktop.
var host = new WebHostBuilder()
.UseKestrel(options =>
{
options.Listen(new IPEndPoint(IPAddress.Loopback, 5001),
lo => lo.UseTls());
})
.UseLibuv()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseStartup<Startup>()
.Build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment