Scaffolding generates project files that provide a starting point for customization. In ASP.NET Core Identity, it creates Razor Pages in the correct locations so they override equivalent pages in the default UI. section 23.5
Use scaffolding when you need to:
- Replace one default Identity page without rebuilding the entire user interface. section 23.5
- Customize both a Razor template and its PageModel page handlers. section 23.5
- Start with generated code matching the default Identity UI, then modify it for application needs. section 23.5
Customizing the registration page
Scaffold Register.cshtml, then remove the external-login-provider information that users do not need to see. The generated page includes supporting files that integrate with the default Identity UI. section 23.5


