ASP.NET MVC - Organizing Site / URLs

Posted by CocoB on Stack Overflow See other posts from Stack Overflow or by CocoB
Published on 2010-05-10T13:07:10Z Indexed on 2010/05/10 13:14 UTC
Read the original article Hit count: 204

Filed under:
|
|

My question is around the best practice for dividing up an asp.net mvc web app. I am building a fairly simple application which has two main sections, public and private. Basically I am running up against the issue of collisions between controllers. What I want is to have urls like /public/portfolio, but also have /private/portfolio.

Looking into some options, it seems that areas would work well for this situation. Are there other alternatives, such as some creative routing scheme that I should consider?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about mvc