❔ How to read configuration based on environment
I have a stored my connection string as configuration in web.config. Now I have stored the same connection string as application setting variable in app service. So now how to make my application to read from web.config while in dev environment and from app service which its deployed.
Existing code to get the connectionstring:
1 Reply
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.