Can anybody point me in the right direction to get Ninject working with WCF Web API Preview 5? I have it successfully up and running in my ASP.NET MVC 3 project and also in
In P5 you have to derive from WebApiConfiguration and use your derived configuration:
public class NinjectConfiguration : WebApiConfiguration
{
public NinjectConfiguration(IKernel kernel)
{
CreateInstance((t, i, m) =>
{
return kernel.Get(t);
});
}
}