I develop the code for my application against the Sandbox environment in Azure. my current appsettings.json file contains connection strings for Database, Azure Storage, etc which point to the Sandbox environment.
When the api is deployed through the DevOps pipeline to Dev, Staging and Production Env, the api should point to Database, azure Storage etc that are present in the respective environments Dev, staging and production.
I am trying to go with approach in Startup file
But I can't able to go further on the above to achieve this is in DevOps deployment.