dotnet / AspNetCore.Docs

Documentation for ASP.NET Core
https://docs.microsoft.com/aspnet/core
Creative Commons Attribution 4.0 International
12.63k stars 25.3k forks source link

MapRazorPages required for Identity UI #15144

Closed serpent5 closed 5 years ago

serpent5 commented 5 years ago

I've seen a couple of people get caught out by the Identity UI requiring a call to MapRazorPages. The need for MapRazorPages is covered here, but it might not be obvious that this is needed if RP is only being used for the Identity UI.

Should a note be added to this migration guide to point this out?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Rick-Anderson commented 5 years ago

but it might not be obvious that this is needed if RP is only being used for the Identity UI.

For example, MVC app not using RP (Razor Pages).

I think that's a good idea.

serpent5 commented 5 years ago

Should there be a new section on the page with an e.g. "Identity UI" heading, which covers:

If no to the section thing, how should the requirement for MapRazorPages be called out?

Rick-Anderson commented 5 years ago

New section makes sense. An H2 (##) will get good SEO.