All applications should have a special configuration reader module that will manage the environments:
There are multiple options, but the most robust one seems to be the following:
– implement a flag "running environment"
– programmatically manipulate the settings based on this flag (all specific data
will be stored in appSettings section instead of using .NET specific sections or
in custom sections in the app.config file).
TODO: write proof of concept code to use custom app.config sections.