I have an existing ASP.NET Core MVC application created in Visual Studio Community (Windows).
The project was originally created without authentication, and I now want to add a basic login system (register, login, logout) using ASP.NET Core Identity.
I would like to know:
Which NuGet packages are required for authentication in an MVC app
Which .NET CLI (
dotnet) commands I need to run in the terminalAny required configuration steps (e.g.
Program.cs,DbContext, migrations)
I am using:
ASP.NET Core MVC
Visual Studio Community
Windows
.NET ___ (please specify if needed)
I am not looking for a third-party auth provider (Google, Microsoft, etc.), just a local username/password login.
Any guidance or examples would be appreciated.