Is it possible to rename the Areas folder?

Can I rename Areas folder? Or expand AreaRegistration.cs to search for a custom folder?

what I need to do to rename the Areas folder.

+3
source share
2 answers

you need to change the AreaMasterLocationFormats property of the WebFormsViewEngine property, as well as its associated AreaPartialViewLocationFormats and AreaViewLocationFormats. If you use a different View Engine, you will have to modify it accordingly.

You can grab a View Engine instance from ViewEngines.Engines

+4
source

Yes it is possible. They look like folders. You must forward it accordingly.

0

Source: https://habr.com/ru/post/1765279/


All Articles