How to Route /About to /Home/About

Posted by Brian Boatright on Stack Overflow See other posts from Stack Overflow or by Brian Boatright
Published on 2010-04-08T01:25:39Z Indexed on 2010/04/08 1:33 UTC
Read the original article Hit count: 440

Just getting started with ASP.NET MVC and it's great! But I don't quit understand setting up routes.

How do I route ~/About to ~/Home/About?

/Views/Home/About.aspx

I would like to be able to access it with /Home/About or just /About

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about asp.net-mvc-routing