How can I translate my programmatic WCF configuration into app.config
Posted
by ofer
on Stack Overflow
See other posts from Stack Overflow
or by ofer
Published on 2010-04-15T16:40:23Z
Indexed on
2010/04/15
16:43 UTC
Read the original article
Hit count: 311
wcf
Hi,
I have an self hosted WCF server with hard coded configurations. the server worked fine until I tried to implement some new functionality. the new 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, I thought about different approach:
Is there any way to dump 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
© Stack Overflow or respective owner