<p>How does the new Microsoft asp.net mvc implementation handle partitioning your application - for example:</p>

<pre><code>--index.aspx
--about.aspx
--contact.aspx
--/feature1
--/feature1/subfeature/action
--/feature2/subfeature/action
</code></pre>

<p>I guess what I am trying to say is that it seems everything has to go into the root of the views/controllers folders which could get unwieldy when working on a project that if built with web forms might have lots and lots of folders and sub-folders to partition the application.</p>

<p>I think I get the MVC model and I like the look of it compared to web forms but still getting my head round how you would build a large project in practice.</p>

[{'answer_id': 26741, 'author': 'Dale Ragan', 'author_id': 1117, 'author_profile': 'https://Stackoverflow.com/users/1117', 'pm_score': 5, 'selected': True, 'text': '<p>There isn\'t any issues with organizing your controllers.  You just need to setup the routes to take the organization into consideration.  The problem you will run into is finding the view for the controller, since you changed the convention.  There isn\'t any built in functionality for it yet, but it is easy to create a work around yourself with a ActionFilterAttribute and a custom view locator that inherits off ViewLocator.  Then when creating your controller, you just specify what ViewLocator to use, so the controller knows how to find the view.  I can post some code if needed.</p>\n\n<p>This method kind of goes along with some advice I gave another person for separating their views out for a portal using ASP.NET MVC.  Here is the <a href="https://stackoverflow.com/questions/19746/views-in-seperate-assemblies-in-aspnet-mvc">link to the question</a> as a reference.</p>\n'}, {'answer_id': 29530, 'author': 'Haacked', 'author_id': 598, 'author_profile': 'https://Stackoverflow.com/users/598', 'pm_score': 3, 'selected': False, 'text': "<p>In terms of how you arrange your views, you can put your views in subfolders if you'd like and create your own view structure. All views can always be referenced by their full path using the ~syntax. So if you put Index.aspx in \\Views\\Feature1\\Home then you could reference that view using ~/Views/Feature1/Home/Index.aspx.</p>\n"}, {'answer_id': 579937, 'author': 'Stephen Curial', 'author_id': 1399919, 'author_profile': 'https://Stackoverflow.com/users/1399919', 'pm_score': 3, 'selected': False, 'text': '<p>Here\'s two good blog posts that I found that may help other readers:</p>\n\n<p><a href="http://stephenwalther.com/blog/archive/2008/07/23/asp-net-mvc-tip-24-retrieve-views-from-different-folders.aspx" rel="nofollow noreferrer">http://stephenwalther.com/blog/archive/2008/07/23/asp-net-mvc-tip-24-retrieve-views-from-different-folders.aspx</a></p>\n\n<p>This one talks a little more in-depth about what Haacked described above.</p>\n\n<p><a href="http://haacked.com/archive/2008/11/04/areas-in-aspnetmvc.aspx" rel="nofollow noreferrer">http://haacked.com/archive/2008/11/04/areas-in-aspnetmvc.aspx</a></p>\n\n<p>This is a nice alternative for grouping your site into "areas."</p>\n'}]
['https://Stackoverflow.com/questions/26715', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2041/']