Note for fellow developers. If you are having an issue on IIS.
Please add the following line
GlobalConfiguration.Configuration.DependencyResolver = kernel.Get<System.Web.Http.Dependencies.IDependencyResolver>(); to NinjectWebCommon.CreateKernel
More details at:
http://stackoverflow.com/questions/20595472/mvc5-web-api-2-and-ninject
Please add this information to IIS wiki page.
Note for fellow developers. If you are having an issue on IIS.
Please add the following line
GlobalConfiguration.Configuration.DependencyResolver = kernel.Get<System.Web.Http.Dependencies.IDependencyResolver>();to NinjectWebCommon.CreateKernelMore details at:
http://stackoverflow.com/questions/20595472/mvc5-web-api-2-and-ninject
Please add this information to IIS wiki page.