Ninject and ASP.NET Web API

WebAPI was appeared in beta version of ASP.NET MVC4 with a new namespace. System.Web.Http is an analogue of System.Web.Mvc namespace with ApiController class, action filters, and many other similar classes with which we are familiar from the ASP.NET MVC. There is IDependencyResolver that is an analogue of IDependencyResolver from System.Web.Mvc. And I find it necessary to write my own realization of IDependencyResolver for Ninject.

Or find it! (on GitHub: example)

blog comments powered by Disqus