[Solved] ASP.Net MVC3 : Steven Sanderson’s tutorial — using Ninject error [closed]


I suggest to use the official Ninject MVC3 extension. The NuGet package Ninject.MVC3 will setup everything for you so that you can start to inject depenencies into your controllers.

Replacing the controller factory isn’t the prefered way anymore for MVC3. With this release the proposed approch by the MVC development team is to use a DependencyResolver instead. The Ninject MVC3 extension uses this approach.

Read the documentation at https://github.com/ninject/ninject.web.mvc/wiki/MVC3 for more information.

5

solved ASP.Net MVC3 : Steven Sanderson’s tutorial — using Ninject error [closed]