Legion Developers

Sharing Knowledge

orm

Execute ef-core migrations with different settings

Hi guys, now I want to share how to execute ef-core migrations with different appsettings.json files, to change the string connection to execute migrations according to the environment. Supposing that you have different string connections for each environment that you have, for example: development, staging, production; you could have three appsettings. appsettings.development.json appsettings.staging.json appsettings.production.json If […]

Scroll to top