The asp-area attribute assigns an area route value to a link generated by an ASP.NET Core Tag Helper. For Razor Pages in the Identity area, set it to Identity. section 23.3.2
Link to the Identity login page
Use the area together with asp-page to generate a link to the /Account/Login Razor Page: <a asp-area="Identity" asp-page="/Account/Login">Login</a>. section 23.3.2
<a asp-area="Identity" asp-page="/Account/Login">Login</a>
Inspect the complete Login link and see how asp-area combines with asp-page. section 23.3.2
