500错误的自定义错误页面 [英] Custom Error Page for 500 Error
本文介绍了500错误的自定义错误页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Azure中使用我的webapp,它是在.Net Core中开发的。如果应用程序出现故障,我想发布自定义错误页面,说500错误。
Im having my webapp in Azure and it is developed in .Net Core. I would like to publish the Custom Error Page if app goes down saying 500 Error.
指南/帮助实现此目的。
Guide/Help to implement this.
谢谢
Sdurga
推荐答案
感谢您提问!
Thanks for asking question!
您可以参考以下文档,这将有所帮助。
You can refer below doc it will be helpful.
https:// docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging-azure
检查"远程调试ASP.NET核心"部分在Azure应用服务上"。
Check for the section "Remote Debug ASP.NET Core on an Azure App Service".
这篇关于500错误的自定义错误页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文