Skip to content

Instantly share code, notes, and snippets.

@talkingdotnet
Created May 16, 2017 14:46
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 talkingdotnet/31ad651af2fc08034a80a5f1742b647a to your computer and use it in GitHub Desktop.
Save talkingdotnet/31ad651af2fc08034a80a5f1742b647a to your computer and use it in GitHub Desktop.
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration()
.UseStartup<Startup>()
.Build();
host.Run();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment