开发者

Custom Error Handling in ASP.NET MVC

I've tried implementing the answer listed here: Properly handling 404s which came from this blog post: Real World Error Handling

All I get is a blank page. I step through the debugger and I see the Exception catch, the ErrorController method get called and the return of the View execute, but then I don't see anything in the web browser. Firebug tells me I got back a 0 byte response from the server and the URL is not changed to the ErrorControll开发者_开发问答er. Any ideas?


Nevermind, I've found the answer. Copy and Paste error from the example. My view is called Error, the examples have it called Index.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜