Question: I am working on a large system, for which I have to use WCF to access a web service. My test code works fine, now I need to integrate my WCF client code into the larger system. I cannot add to the existing 'app.config' file, and would like specify a separate .config file for use by my client code.

How best can I accomplish this?

Thanks!

Answer: 
There is no built-in support for this in WCF unfortunately. You must create your own ChannelFactory subclass and load/parse configuration files yourself. Check out [this post](http://social.msdn.microsoft.com/forums/en-US/wcf/thread/f33e620a-e332-4fd4-ae21-88c750437355/) here on MSDN forums for more implementation details.
Or, you can do it a simple and easy way - and implement a custom config file as in this post, which uses a DataSet / DataTable model to store / retrieve your configuration (includes working code):

[(.Net) suggestions on making a config file for a program?](https://stackoverflow.com/questions/1583673/net-suggestions-on-making-a-config-file-for-a-program/1583684#1583684)