Ninject

Recently, I've been trying out the Ninject Dependency Injection framework. It's amazing! In this post I would like to give you some pointers on how to use it. I will also briefly explain the purpose of Dependency Injection. For those aching to play with some code rather than reading a lengthy blog (for webforms or as a console application), check the sourcecode repositories below. What is dependency injection? Dependency Injection (DI, wikipedia) is a design pattern that reduces hard-coded dependencies between your classes by injecting these dependencies at run-time, instead of during design-time. Technically, Dependency Injection is a mechanism that…