I have an MVC2 application that is divided into Areas. Is it good practice for each area to have its own Content folder for Images, Styles etc that only pertain to that area?
...
I'm trying to route to the home page of an Area in MVC, e.g.
myDomain.com/myArea/Home/Index
when I use the URL:
myDomain.com/myArea
MVC appears to by trying to find a Controller called "myArea" in the root Controllers folder and thereby would route to:
myDomain.com/myArea/Index
if the Controller existed.
Again, I want:
myDomai...
I just create an empty MVC2 project. Add an Area and a controller and a view to it. Include T4MVC files into the project and run the custom tool.
Everything is generated except the ViewNames for the views in the Area.
My tree structure:
Areas
MyArea
Controllers
MyTestController.cs
Views
MyTest
MyTestView.aspx
MySecondTestVie...