var appInsights=window.appInsights||function(config){ function r(config){t[config]=function(){var i=arguments;t.queue.push(function(){t[config].apply(t,i)})}}var t={config:config},u=document,e=window,o="script",s=u.createElement(o),i,f;for(s.src…
来源https://docs.asp.net/en/latest/fundamentals/diagnostics.html ASP.NET Core 1.0包含了一些新的特性来辅助诊断问题.可以在Startup类中轻易地配置不同的handler来处理应用程序错误,显示额外信息. 配置错误处理页面 ASP.NET Core 1.0中可以在Startup类的Configure方法中为每个Request请求配置处理管道.在开发中,你可以非常方便地配置一个简单的错误处理页面.你只需要添加项目对Micr…