Area route link with parameter returns
`/admin/home/edituser/b36c7c26`
instead of
`/admin/home/edituser?id=b36c7c26`
This in turns scatters my interface, meanwhile am using the standard ASP.NET tag helper link generator
asp-action="edituser" asp-controller="home" asp-area="admin" asp-route-id="@user.Id"
Am I doing something wrong?
idis found in your route template so it is not appended as a request parameter and value. Your template is probably the typical default:https://learn.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/built-in/anchor-tag-helper?view=aspnetcore-5.0