ASP.NET Core 6.0 Tutorial build from the documentation
SQL Server Express LocalDB is used at the C:\Users<user>\ directory and creates .mdf files locally.
From the Tools menu, select NuGet Package Manager > Package Manager Console.
Update-Database
Connection string should not be pushed to repo in good practice. The appsettings.json file is stored locally.
TODO: When the app is deployed to a test or production server, an environment variable can be used to set the connection string to a test or production database server. For more information, see Configuration.