...

/

Creating the Authentication Database for SQL Server LocalDB

Creating the Authentication Database for SQL Server LocalDB

Learn about configuring authentication databases in ASP.NET Core MVC, with specific instructions for creating databases in Visual Studio 2022 and relevant migration commands.

SQL Server local db configuration

If we created the MVC project using Visual Studio 2022 or used dotnet new mvc with the -uldor --use-local-db switch, then the database for authentication and authorization will be stored in SQL Server LocalDB. However, the database does not yet exist.

SQLite authentication database configuration

...