https://developers.de/blogs/holger_vetter/archive/2016/11/30/identify-asp-net-core-startup-errors.aspx
asp.netcore 2.0
public static IWebHostBuilder CreateWebHostBuilder (string[] args) =>
WebHost.CreateDefaultBuilder (args)
.CaptureStartupErrors (true)
.UseSetting ("detailedErrors", "true")
.UseStartup<Startup> ();

No comments:
Post a Comment