title: Redirect ConfigurationManager to Another File
body: <p>I am looking to redirect the <em>standard</em> .Net ConfigurationManager class to another file; <em>entirely</em>. The path is determined at runtime so <strong>I can't use configSource</strong> or such (this is not a duplicate question - I have looked at the others).</p>
  
  <p>I am essentially trying to duplicate what ASP.Net is doing behind the covers. Thus not only my classes should read from the new config file, but also any standard .Net stuff (the one I am specifically trying to get to work is the system.codeDom element).</p>
  
  <p>I have cracked open Reflector and started looking at how ASP.Net does it - it's pretty hairy and completely undocumented. I was hoping someone else has reverse-engineered the process. Not necessarily looking for a complete solution (would be nice) but merely <em>documentation</em>.</p>