Using .NET ConfigurationManager to read settings from a string instead of an app.config file
- 阅读更多 关于 Using .NET ConfigurationManager to read settings from a string instead of an app.config file
We are running multiple instances of our service (implemented as a .exe file) on different machines in our data center. However, we would like to store configuration parameters for this .exe file in a central location (as opposed to being in the .exe.config per machine). To do this, we are planning to move the content of the .exe.config files to an attribute in a central repository (Active Directory or SQL) and make the .exe's running on all machines read from this repository. I would like reuse all the existing classes used for reading/writing configuration information (using