3
Creating a project Web ASP.NET Core MVC in the Visual Studio 2017, I found that in the file _Layout.cshtml all elements a
has an attribute called asp-area
but it has no value:
<li><a asp-area="" asp-controller="Home" asp-action="Index">Home</a></li>
<li><a asp-area="" asp-controller="Home" asp-action="About">About</a></li>
<li><a asp-area="" asp-controller="Home" asp-action="Contact">Contact</a></li>
After all, what is the purpose of this attribute?