ASP.NET Core - Scaffold Identity like MVC

For anyone that wants to "scaffold" identity on MVC, I recommend the following approach:

Go to the official identity ASP.net Github Repository (https://github.com/aspnet/Identity) and download it. Open the solution and search for the IdentitySample.Mvc project. Copy the necessary files to your project.

Important Note: Don't forget to change the namespace on the added files since they belong to a different project.


No, it is not possible. The Identity team decided to switch to Razor Pages for the default UI, and now that is all there is. If you like, you can manually create controllers and views, referencing code from the scaffolded Razor Pages to create the same thing in MVC, but that is on you. There is no automatic way to do so.