asp.net-mvc Areas

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

What is area?

An area is a smaller unit in MVC application which used as a way to separate large amount of application modules into functional groups. An application can contain multiple areas which stored in Areas folder.

Each area can contain different models, controllers and views depending on requirements. To use an area, it is necessary to register the area name in RouteConfig and define route prefix for it.

Remarks

if you want to go to this area through your default controller

      return RedirectToAction("Index","Home",new{area="areaname"});


Got any asp.net-mvc Question?