If Application contains a large number of controllers it is difficult to manage. The asp.net area simplifies large mvc web application in to smaller groupings.
Area mvc example:
If you are creating news blog, the application divided into areas such as Admin and dashboard blog. Each area represents separate functionalities.
Creating Area in mvc:
You can create area by right click on the mvc application project solution and clicking on the areas as shown in figure.
Dashboard area for the blog:
It is used to display the blog posts.
Admin area for the blog:
It is for creating and managing the blog posts.
if you want to know how to use html beginform using areas in mvc asp.net click here .
Post your comments / questions
Recent Article
- How to use if else statement in c++?
- How to use godaddy domain name with another godaddy hosting account?
- Restore of database 'DATABASE' failed. (Microsoft.SqlServer.Management.RelationalEngineTasks)
- How to programmatically modifying the AppSetting value in web.config using c#?
- TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined
- How to calculate the age from jQuery ui datepicker using c#?
- How to calculate days difference between two dates in c#?
- Changing date format in jQuery ui datepicker
Related Article