ASP.NET MVC URL/Routing question
Posted
by Hobbes
on Stack Overflow
See other posts from Stack Overflow
or by Hobbes
Published on 2010-05-02T22:14:33Z
Indexed on
2010/05/02
22:17 UTC
Read the original article
Hit count: 199
Hello! I am an MVC newbie. I'm trying to get my URLs to look like this:
/Corporate/Users/Edit/1
/Corporate/Stores/Edit/17
/Corporate/Contacts/Edit/17
/Store/Contacts/Create
/Store/Products/Edit/29
Pretty much like plain-vanilla urls, except with a user type at the front. I'm running into a lot of problems with duplicate controller names, etc.
Is there a simple way to do this? I looked briefly at Areas, but this seemed way to complicated.
© Stack Overflow or respective owner