【发布时间】:2017-11-13 00:36:06
【问题描述】:
当我们部署缺少依赖项的应用程序时,我们会收到 500 个错误,但不是很有帮助。由于应用程序无法启动,我们无法使用 appinsight 捕获错误。 我们怎样才能有更好的错误?
将构建任务添加为索引源和发布符号会有帮助吗?
关于应用 - .net 核心 - 未预先编译视图。
使用 nlog 启用的 Azure 详细错误和 appinsights。
通用错误就像
http://www.w3.org/1999/xhtml”> IIS详解 错误 - 500.0 - 内部服务器错误
【问题讨论】:
-
这是您的意见吗?如果是这样,可以预编译 - stackoverflow.com/questions/37193420/…
-
您是否在 Azure WebApps 上运行您的 MVC 应用程序?
-
.net 核心/未预编译。
标签: asp.net-mvc azure asp.net-web-api asp.net-core