AreasMVC.md - brainchildservices/curriculum GitHub Wiki
SLIDE-1
- AREAS- WHAT AND WHY
- Areas are some of the most important components of ASP.NET MVC projects.
- The main use of Areas is to physically partition a web project in separate units.
- In short, areas can be defined as smaller functional units in an ASP.NET MVC project with their own set of controllers, views, and models.
SLIDE-2
- If you look into an asp.net mvc project, logical components like model, controller, and the view are kept physically in different folders, and asp.net mvc uses naming conventions to create the relationship between these components. problems start when you have a relatively big application to implement. for instance, if you are implementing an e-commerce application with multiple business units, such as checkout, billing, and search etc. each of these units have their own logical components views, controllers, and models. in this scenario, you can use asp.net mvc areas to physically partition the business components in the same project.
SLIDE-3
-
CHARACTERISTICS OF AREAS
- an mvc application can have any number of areas.
- each area has its own controllers, models, and views.
- physically, areas are put under separate folders.
- areas are useful in managing big web applications.
- a web application project can also use areas from different projects.
- using areas, multiple developers can work on the same web application project.
-
Ref Link: