ASP MVC Routing

Posted by Richard on Stack Overflow See other posts from Stack Overflow or by Richard
Published on 2010-04-28T15:14:47Z Indexed on 2010/04/28 16:33 UTC
Read the original article Hit count: 334

Hi, now this is probably an stupid question but i'm new to mvc and can't seem to get it working.

Here is what i would like to be able to do with the urls/routes:

1) www.domain.com/name/home/index
2) www.domain.com/home/index

where both the home controllers are seperate controllers and the name part will very but all must go to the same controller and the name should be an param for all the actions in there.

Is this at all possible? Thanks for your help.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-mvc-routing