Asp.net – Entity Framework Core: use connection string from appsettings.json
I'm trying to use appsettings.json to store the database connection string to use different strings for build configurations. But, I'm getting this exception: System.InvalidOperationException: A named connection string was used, but the name 'ConnectionStrings:DefaultConnection' was not found in the application's…