Yan Pitanguiwww.yanpitangui.com·Jun 15, 2023[EN] Detecting if the application is running to create migrationsChallenges with Scoped Dependencies in DbContext In Entity Framework Core, DbContext is often used to interact with the database. However, in complex scenarios like multi-tenant applications, you might need to inject scoped services such as TenantPro...dotnetAdd a thoughtful commentNo comments yetBe the first to start the conversation.