Wondering if anyone has used a database as a repository of connection strings or app settings that could be use for multiple web applications across multiple different servers?
All of our web api applications have connection strings to logging database and tracing database and I know that in the next 6 months those databases will change location. With out going into each web.config setting I would like to refactor the web services other the next few months to point to a central repository for this connection string (and others).
I try very hard to avoid Machine.config which is why I have the connection string in each web.config.
We are using redis for session management and I thought about using one of the database for this since it's ultimately a key-value pair. Has anyone use it in that matter?
How have some of you gotten past this issue?
As this has been marked as too broad, let me see if I can add more details. We have close to 50 web services that ALL have the same connection string within in the web.config and are located on multiple different servers. I would like to possible edit these services to use a shared resource so that when the connection string changes we would only need to edit a single resource instead of redeploying each web service and/or editing each web.config. I am not a fan of using the machine.config.