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
- ImportError: cannot import name 'url' from 'django.conf.urls' - Django Error
- How to Enable Virtualization in BIOS Security Settings in Intel Processors For Android Studio?
- Dependency 'androidx.activity:activity:1.8.0' requires libraries and applications that depend on it.
- AttributeError: 'NoneType' object has no attribute 'get_text' - Python
- ModuleNotFoundError: No module named 'openpyxl' - Python
- How to get thumbnail from vimeo video URL in Python?
- Remove all special characters, punctuation except spaces from string - Python
- OSError: cannot write mode RGBA as JPEG- Python
Related Article