In MVC I simply make the class NinjectControllerFactory
that implements DefaultControllerFactory
interface then do some bindings in it. at last in Global
I run it:
ControllerBuilder.Current.SetControllerFactory(new NinjectControllerFactory());
But what about using Ninject in ASP.NET Web API? there are some information on the web but are out dated and for pre-released versions.
Is there a straightforward way for this problem?