Ive searched everywhere, i can’t seem to find a way to implement ninject in my project. Ive heard of deriving MvcApplication to the NinjectHttpApplication. But NinjectHttpApplication isnt found even if i add the lib to the reference. I can’t find Ninject.Web.Mvc. Does anyone have a guide somewhere in order to make this work, all i want to do is be able to bind my interface from my domain to existing implementation.
Share
http://weblogs.asp.net/shijuvarghese/archive/2010/04/30/dependency-injection-in-nerddinner-app-using-ninject.aspx
Looks like the bulk of it is done via
Replace
Application_StartwithThen create your Ninject modules and configure the kernel, all is explained in the blog post and source code is available here: http://nerddinneraddons.codeplex.com/
While the above is for MVC 2, it should still apply