How to make a wcf client work if its configuration resides in another config file?
I have defined the wcf service model in another config file other than the primary assembly's config file. I also have learned that you can use ConfigurationManager.OpenExeConfiguration() to open the secondary config file.
But if your service models are defined in the secondary one, how will your wcf client work, because by default it looks in the configuration of the executing assembly. I need to make this look into the secondary config file.
This is a question I have posted on stackoverflow. Please feel free to answer anywhere.
How to get WCF configurations if you do... stackoverflow.com
This post is an offshoot of my previous post. However I have not tried implementing what was mentioned there yet. I've just learned the use of ConfigurationManager.OpenExeConfiguration() to load configurations. Next question...