Currently I have an Area in my ASP.NET MVC 2 project call \'API\', which is self explanatory. As the API of my web application matures, I will soon need to add version numbers to my address. ie/
Is there a way I can get the names of the areas in an MVC project? Here\'s a few ways I can think of: a) If I had the source, I could browse through the project folder structure and enumerate the fo
I\'m trying to include a partial in a view.Both the partial and the view are in an MVC Portable Area.Here\'s the code in the view:
The view 开发者_开发问答at \'~/Areas/SomeArea/Views/List/Index.cshtml\' must derive from ViewPage, ViewPage, ViewUserControl, or ViewUserControl.
Slapping on [Authorize] attributes on Controllers and Actions to restrict access is awesome. Is it possible to do the 开发者_如何学Pythonequivalent for an entire Area in MVC 2?Where I can restrict Ar
I\'m starting a new web application that will be made of multiple parts or modules. My client want to be开发者_C百科 able to redistribute the application with a subset of modules to some other clients
In his blog Nicholas announced support for ASP.NET MVC 2.0 Areas. However, I couldn\'t get it working and from what I see in Autofac sourcecode, areas support is nowhere to be seen. More specifically,
I would like to have custom error pages unique to an MVC area. Unfortunately, it appears that the Web.config override system doesn\'t take the MVC folder structure into account. If I want to override
I have a MVC 2 site with an area, let\'s say the area name is {Admin} The areas and the site works fine.
I have been looking around for a solution for my problem. Found alot of similar issues, but none of them led to a solution for me.