Using DynaCache with SimpleInjector

@Colly_Mc_K asked me on twitter (and in my poorly moderated comments feed – sorry, Colly!) if it was possible to use DynaCache with SimpleInjector.

Although I’ve used SimpleInjector a bit before, I hadn’t actually tried it with DynaCache. It turns out that the sample code for Ninject translates fairly well - here’s a sample bit of code that should do the trick with SimpleInjector:

No Comments