One of the cool bits of black magic I showed during my “StructureMapping Your Way to Better Software” talk was an extension method for registering decorators using StructureMap. In this post, I’ll show you how it works. [more] EnrichWith Says What? StructureMap actually supports the decorator pattern right out of the box. This functionality…
try-catch-FAIL
Stories from the trenches of software development.
Category: <span>IoC</span>
Using StructureMap to provide strongly-typed access to AppSettings
I’ve been using StructureMap for the last couple of months. I love it, and my only regret is that I didn’t start using it sooner. I always felt like I wrote clean, testable code before, but I can see a noticeable improvement since jumping on the IoC container bandwagon. If you aren’t using an IoC…