Introducing EffectiveIoC
Last week I tweeted a few times about writing an IoC container in less than 60 lines of code. I also blogged about how I thought the average IoC container was overly complex and didn’t promote DI-friendliness. Well, EffectiveIoC is the result of that short spike. The core ended up being about 60 lines of code (supported type mappings—including open and closed generics—and app.config mappings). I felt a minimum viable IoC container needed a little more than that, so I’ve also included programmatic configuration and support for instances (effectively singletons). I’ve also thrown in the ability to map an action … Continue reading Introducing EffectiveIoC