I want all files: Login.cshtml, Register.cshtml, AccessDenied.cshtml, ForgotPassword.cshtml, ResetPassword.cshtml
If you want the specific list in your post (i.e. Login.cshtml, Register.cshtml, AccessDenied.cshtml, ForgotPassword.cshtml, ResetPassword.cshtml)?
Use the switch --files
for a list of files you specifically want to add.
dotnet aspnet-codegenerator identity --files "Account.Register;Account.Login;Account.AccessDenied;Account.ForgotPassword;Account.ResetPassword" --force
--force
will overwrite existing files.
I want my command to generate Login.cshtml and Register.cshtml after I run scaffolding command.
dotnet aspnet-codegenerator identity --files "Account.Register;Account.Login"
Every UI file would be the following per the Identity scaffolding dialog: