Important Update
Since the release of MVC 2.0 Preview 1 this feature has been implemented as the part of the actual framework itself in the form of Areas. More details available on Phil Haack’s blog here
I have a controller called ListManagerController. This controller contain an ActionResult method called Index(). When I right cick on Index in Visual Studio and select Add View the new view is created in /Views/ListManager/Index.
However I want the Index view and all subsequent views to be created in /Views/Manage/ListManager/. How would I accomplish this?
Edit: It was pointed out that this question is a duplicate of the question posted here. It seems my searching skills failed me initially.
The location of views is tied to the ViewFactory you are using. AFAIK the web forms view engines does not support areas [Manage in your example].
Spark supports this and is very clean, you can also mix and match web forms and spark views so you don’t have to recreate all your views.
UPDATE: Looks like Phil Haack has a blog post on how to achieve this. His code is for the RC, but I think that should compile fine against ASP.NET MVC RTM.