Home » DI

Tag Archives: DI

Decouple WCF Services from their DI Container with Common Instance Factory

In my last blog post I introduced the Common Instance Factory, which I built as an alternative to Common Service Locator to reduce coupling between an application and a Dependency Injection (DI) container. Unlike the Common Service Locator (CSL), the Common Instance Factory (CIF) discourages the service location anti-pattern by using the abstract factory design pattern. I would venture to ...

Read More »