Skip to content

Instantly share code, notes, and snippets.

@sajeetharan
Created February 6, 2019 07:58
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 sajeetharan/a186641a8f7c7e00159e190f1fe97d80 to your computer and use it in GitHub Desktop.
Save sajeetharan/a186641a8f7c7e00159e190f1fe97d80 to your computer and use it in GitHub Desktop.
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public static IWebHost BuildWebHost(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.CaptureStartupErrors(true)
.UseSetting("detailedErrors", "true")
.UseStartup<Startup>()
.Build();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment