Using Ninject with the latest ASP.NET Web API source
Due to changes in System.Web.Http, the old ways don't work anymore
After ASP.NET Web API was beta-released in February, a number of blog posts came out explaining how to plug Ninject (and other IoC-s, for that matter) to your application through the use of the IDependencyResolver adapter. There was even a NuGet Ninject extension for that (here).
However, these approaches don’t work anymore if you are using the latest ASP.NET Web API (and release candidate) – either from Codeplex source or nightly build packages.
Let’s explore why is that and what you need to do now to be able to use Ninject with ASP.NET Web API.