Seperating appsettings.json config file for production in .net core
Add these two when you build your configuration in Startup:
AddJsonFile("appsettings.json", optional: true, reloadOnChange: true)
AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: true);
Create appsettings.Production.json and populate.
Change ASPNETCORE_ENVIRONMENT from project properties to "Production", restart VS. Its also available in Properties/launchSettings.json