dotnet/AspNetCore.Docs

Article does not explain which file should be edited

dougclutter opened this issue · 0 comments

Description

In the section titled Blazor WebAssembly authentication uses history state for redirects, the first razor code snippet has a heading like this:

The following example demonstrates the prior redirection approach for apps that target .NET 6 or earlier, which is based on a redirect URL (?returnUrl=) with NavigateTo:

It does not explain that the file to be updated is RedirectToLogin.razor; it would be very helpful if the filename was included.

Fortunately, the third razor code snippet does include the file to be updated: Shared/LoginDisplay.razor.

Page URL

https://learn.microsoft.com/en-us/aspnet/core/migration/60-70?view=aspnetcore-7.0&tabs=visual-studio#blazor-webassembly-authentication-uses-history-state-for-redirects

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/migration/60-70.md

Document ID

e9669d35-3de1-997d-258c-745ebbdbface

Article author

@Rick-Anderson

Related Issues