is it possible to rename Areas folder? Or to extend the AreaRegistration.cs to look for a custom folder?
what i need to do to rename Areas folder.
is it possible to rename Areas folder? Or to extend the AreaRegistration.cs to look for a custom folder?
what i need to do to rename Areas folder.
Yes it is possible. They are just like folders. You have to route it accordingly.
Hi,
you need to modify the AreaMasterLocationFormats property of WebFormsViewEngine, as well as the related AreaPartialViewLocationFormats and AreaViewLocationFormats. If you are using a different View Engine then you will have to modify it appropriately.
You can grab the View Engine instance from ViewEngines.Engines