aspnetcore
aspnetcore copied to clipboard
Blazor Register page template contains asp-route-returnUrl="@ReturnUrl"
asp-route-returnUrl is used here:
https://github.com/dotnet/aspnetcore/blob/30fd6e2c2336a28e3caf9a289827d90f56db2083/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/Account/Pages/Register.razor#L25C33-L25C65
But tag helpers like asp-route-* do not work in Blazor components.
Happy to fix it if you'd like.
@tesar-tech thanks for contacting us.
@halter73 @MackinnonBuck was this intentional or was this a "copy/paste" error. Is the URL actually used for anything?
This looks like a copy/paste error that happened when translating the Razor Pages implementation to Blazor.