Created
February 18, 2018 01:37
-
-
Save Drawaes/d7da2dcb02a3a95ac64ca72aab938113 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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