Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
How To Get Web Api 2.2 Working With Ninject.
posted

Hello everyone!

Could someone  provide an up to date set of instructions on how to get Web API 2.2 working  with Ninject on IIS site.  I have downloaded from Nuget Ninject.WebApi which includes Ninject, Ninject.Web.Common  and  Ninject.WebApi.  I also downloade Ninject.Common.WebHost.  I have entered my bindings to NinjectWebCommon.Register.Servides method.   But WebApi is always using the default constructor.   I have tried with the DependencyResolver and without. routerlogin

I would be glad to any advice.Thanks.