摘要: .NET MVC HandleErrorAttribute可自动获取500错误并跳转Error.cshtml页面,前提条件webconfig页面需要在 <system.web>节点中添加<customErrors mode="On"/>。 首先在App_Start目录添加类FilterConfig 阅读全文
posted @ 2019-03-15 16:19 sean-日积月累 阅读(341) 评论(0) 推荐(0) 编辑