The Identity scaffolder generates Razor Pages that replace matching pages in ASP.NET Core Identity’s default UI. Generated files initially match the default implementation, then provide a starting point for customization. section 23.5
A typical Visual Studio workflow is:
- Add the code-generation and Entity Framework Core tools packages if they are missing. section 23.5
- Ensure the project builds before running the scaffolder. section 23.5
- Choose Add > New Scaffolded Item, select Identity, then select the page and application data context. section 23.5
Customize registration
Scaffold Account/Register to generate Register.cshtml and its supporting files. Remove the external-provider information section while retaining the generated page’s integration with the default Identity UI. section 23.5
