For me, the connection string name in my DbContext registration in Program.cs did not match the connection string name in appsettings.development.json.