dotnet ef core migrations using staging appsettings.json code example Example: asp.net core update-database specify environment $env:ASPNETCORE_ENVIRONMENT='Production'