views:

65

answers:

0

Hi,

I have an self hosted WCF server with hard coded configurations. the server worked fine until I tried to implement some new configurations functionality (changed ports, added ssl) the new config setting did not work (urrr.... ) and I find it hard to locate where are the problems in my code.

instead of digging inside the code that declares the WCF object, I thought about different approach:

Is there any way to dump-to-file those hard coded WCF configuration (the entire ) into app.config like text file after all configurations are loaded? this will enable me to have a easy global view of the entire settings ..

mmm .. .by the way, does anyone know a way that will do the translation to the opposite direction? config to code.

Any advice will be welcomed!

ofer