Skip to main content

Posts Tagged ‘DI’

Istock 1450969748

Decoding DI in Optimizely CMS 12

DI or Dependency Injection is a complex topic, not just in Optimizely CMS, but in general in .net core implementations. Some aspects we get, like the different ways dependencies can be injected and which is better over others, while some leave us scratching our heads. Often times we end up doing a lot of troubleshooting, […]

Person working at a whiteboard

Optimizely CMS 12 – Dependency Injection(DI) – StructureMap vs ASP.Net Core

If you are upgrading to Optimizely CMS 12, one of the breaking changes to consider is the change to the Dependency Injection(DI) framework. Earlier versions of Optimizely CMS had their own DI hosting framework that supported other concrete DI implementations, like StructureMap. With CMS 12 and ASP.Net Core, DI framework is built into the system. […]