Composition Root Reuse

added by Ricardo Peres
1/6/2015 10:47:43 AM

3 Kicks, 189 Views

A Composition Root is application-specific. It makes no sense to reuse it across code bases. At regular intervals, I get questions about how to reuse Composition Roots. The short answer is: you don't. Since it appears to be a Frequently Asked Question, it seems that a more detailed answer is warranted.