I have an area called Admin, in one of my pages in this area, I want to navigate to the views that are located outside of my area, in fact it isn't in any area, with HTML helpers I could pass empty for that like so:
@Html.ActionLink(item.ArticleTitle, "Details", new { id = item.ArticleId,title=item.ArticleTitle.Replace(' ', '-'), Area = "" })
But when using tag helper, passing empty doesn't work:
<a asp-action="Details" asp-route-area="" asp-route-id="@item.ArticleId" asp-route-title="@item.ArticleTitle.Replace(' ', '-')" class="btn btn-default">Detail</a>
Worth to note that I've already saw this question, but my question is specifically about specifying the area in a way that it navigates me to the root of the site, outside of current area, and I know I can use normal URL, but I was curious if it could be done with tag helpers.