What are the area in ASP.Net MVC?

Solution

ASP.Net MVC defines areas, helpful in managing a large application into smaller modules. A large application say, any e-commerce shopping portal may have different sections e.g. Men, Women, Electronic portal, billing module, reporting and order tracking module, These modules can be managed into different areas and routing for each area can be managed differently.

Example:

Below application defines 3 areas BillManagement, Order management and Men shopping portal.

Area in mvc

An area contains Controllers, Models, Views and AreaRegistration file.

Share this thread

Comments

Comments
comments powered by Disqus

Navigation

Social Media