Error at seventh step (below)
PM> Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore -Version 6.0.11
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore : The term 'Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore' is not recognized as
the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore -Version 6.0.11
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Microsoft.AspNe...tyFrameworkCore:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PM> Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore : The term 'Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore' is not recognized as
the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Microsoft.AspNe...tyFrameworkCore:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PM> Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore -Version 6.0.11
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore : The term 'Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore' is not recognized as
the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore -Version 6.0.11
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Microsoft.AspNe...tyFrameworkCore:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Steps:
Introduction to Identity on ASP.NET Core
- In the Authentication type input, select Individual User Accounts.
- Update-Database
- Run the app and register a user. Depending on your screen size, you might need to select the navigation toggle button to see the Register and Login links.
- Configure Identity services
https://learn.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-6.0&tabs=visual-studio#configure-identity-services
Scaffold Register, Login, LogOut, and RegisterConfirmation
- Install-Package Microsoft.VisualStudio.Web.CodeGeneration.Design -Version 6.0.11
- Add New Scaffolded Item at the project level / select Identity / Add

Migrations
7. Install-Package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore -Version 6.0.11