Action not found in Route table?

Posted by Hans on Stack Overflow See other posts from Stack Overflow or by Hans
Published on 2010-03-18T11:03:57Z Indexed on 2010/03/19 15:21 UTC
Read the original article Hit count: 186

Hi,

Just started my first MVC 2.0 .net application. And I set up some default pages like:

/Loa/Register
/Loa/About

But when I request for /Loa/sdfqsdf (random string) I get the "The resource cannot be found." error, how can I redirect this non-existing action to a default action?

Like an "action not found" default action?

thx!

© Stack Overflow or respective owner

Related posts about asp.net-mvc-2

Related posts about asp.net-mvc-routing