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
Metadata view of code in referenced assembliesThis is a big one for me. For whatever reason, Refactor 4 (and prior) completely disables this and sends you to the Object Browser instead. You get metadata view with CodeRush Refactor! Pro. Keyboard layoutAs you might imagine, CodeRush Refactor! Pro and Resharper had completely different keyboard layouts. So, if you’re used to R# then Refactor! Pro will take a bit of getting used to. One thing I don’t like with the default Refactor! Pro keyboard layout, is they’ve replaced Ctrl-. with Quick Navigation. I use Ctrl-. (instead of Shift-Alt-F10 to get at the … Continue reading Comparing CodeRush Refactor! Pro and Resharper 4, part 1 or N — first glance.