Archive for September, 2008

Dependency Injection or Inversion of Control (IoC)

These phrases popped up during TechEd so I scrambled to verify it was what I thought it was .. and it wasn’t.

To recognise DI, look for an interface being passed into a class constructor or, alternatively, an interface being passed to a class properties set. The primary objective here is to provide loose coupling by using interfaces. We can use a referenced object in our class only knowing that it has an interface.

Categories: New Posts