Ehsan Tavakoli

Writing About .NET Programming and other stuff

Archive for the ‘Dependency Injection’ Category

Ninject – Dependency Injection Container for ASP.NET MVC

leave a comment »

I came across a very interesting DI container for ASP.NET MVC when I was reading Pro ASP.NET MVC 2 Framework by Steven Sanderson. It called Ninject (cool name for start! and cool site too). It can manage DI in your application very simple but highly extensible. It used the term kernel for mapping abstract types (interfaces) to specific concrete types.

It seems there are few other open source DI container for .NET, thanks to Scott Hanselman they have been covered comprehensively: http://www.hanselman.com/blog/ListOfNETDependencyInjectionContainersIOC.aspx

Advertisements

Written by Ehsan Tavakoli

September 12, 2010 at 5:20 pm