阅读背景:

如何将用户重定向到ASP.NET MVC中的自定义404页面而不是抛出异常?

来源:互联网 

I want to be able to capture the exception that is thrown when a user requests a non-existent controller and re-direct it to a 404 page. How can I do this?I want to be able to capture the exception that




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: