InterviewSolution
| 1. |
What are Areas in ASP.NET MVC |
|
Answer» ASP.NET MVC 2 INTRODUCED Area. It allows us to partition the large application into smaller units/folders where folder unit contains separate MVC folder structure, same as default MVC folder structure. For example, big enterprise applications can have different modules like admin, finance, HR, marketing, ETC. So an Area can contain separate MVC folder structure for all these modules. Areas are BASICALLY the logical grouping of Controller, MODELS and Views and other related folders for a module in MVC applications. Using areas helps to write more maintainable code for an application cleanly separated according to the modules. Benefits of Area in MVC
|
|