How to configure a URL with 3 levels in ASP.NET MVC?
Posted
by MCardinale
on Stack Overflow
See other posts from Stack Overflow
or by MCardinale
Published on 2010-03-12T18:46:39Z
Indexed on
2010/03/12
19:07 UTC
Read the original article
Hit count: 181
Using ASP.NET MVC, I need to configure my URLs like this:
www.foo.com/company : render View Company
www.foo.com/company/about : render View Company
www.foo.com/company/about/mission : render View Mission
If "company" is my controller and "about" is my action, what should be "mission"?
For every "folder" (company, about and mission) I have to render a different View.
Anyone knows how can I do that?
Thanks!
© Stack Overflow or respective owner