When I try to add a scafolding with Entity Framework the class that is in .Models
does not appear, it is called ApplicationUser
and it is not in the list, how the charge?
The reason 3 most common reasons for a model not to be listed
First you must go to the folder where the project is and there you open the powershell
so you can execute the following code.
dotnet aspnet-codegenerator controller -name UsuariosController -m ApplicationUser -dc ApplicationDbContext --relativeFolderPath Controllers --useDefaultLayout --referenceScriptLibraries
Note: The project must be closed in Visual Studio.
and you'll get the User driver and its views