DLL assembly - Transparent configuration

Aug 6, 2010 at 10:17 AM
Edited Aug 6, 2010 at 10:18 AM
What if you are writing a DLL that uses DI that exposes a series of static methods via a facade. You want to: 1. Allow the host application to call the static methods without knowing anything about the internal DI. 2. Allow the host application to use its DI configuration to override some of the DLLs internal wire-up. 3. Provide a separate DLL config that the DLL will use to override it's internal wire-up. The Enterprise Library 5.0 itself uses a custom method of doing this, but is overly complicated for my needs. Does anybody have a more simple solution/example code?