title: Loading Config for a referenced DLL
body: <p>I have a windows application that references a DLL which has a WCF client proxy generated from a WSDL.</p>
  
  <p>What I need to do is have the DLL load its dll.config globally so the client proxy can automatically read the endpoint and binding properties (such as in a regular exe.config).</p>
  
  <p>I'm reading in the Config succesfully in the DLL:</p>
  
  <pre><code>ClientSection clientSettings = ConfigurationManager.OpenExeConfiguration(exeConfigPath).GetSection("system.serviceModel/client") as ClientSection;
  </code></pre>
  
  <p>The above approach just obtains the section so I can manually read out the properties and initialize my WCF proxy client with them. What I want to avoid is exactly that, is there a way to globally load the configuration so all endpoint configuration is loaded into the libraries system.serviceModel instance?</p>