Sqllocaldb Link
Entity Framework Core will automatically create the database when you run migrations. 🔁 Automatically create DB per test run // In xUnit [Fact] public void AddProduct_SavesToDatabase()
Server=(localdb)\MyEcommerceApp;Database=MyShopDb;Trusted_Connection=true; "ConnectionStrings": "DefaultConnection": "Server=(localdb)\\MyEcommerceApp;Database=MyShopDb;Trusted_Connection=true;" sqllocaldb
But what about SQL Server? Installing the full SQL Server Developer Edition is great, but it can be heavy. Spinning up a Docker container is nice, but requires Docker and resource overhead. Entity Framework Core will automatically create the database