I am currently using ninject.mvc3 in my asp.net webapi project and it works great. Now I am trying to bind filter attributes, but BindFilter and BindHttpFilter missing in the IKernel interface when using the static method of the NinjectWebCommon class. If I add the Ninject.Web.WebApi package, it is there, but the project does not start (the problem is here , the solution says that Ninject.Web.WebApi is out of date), so I deleted it.
I also followed this github wiki and yet this.BindFilter not found. I have the latest nuget packages; Ninject (3.0.1.10), Ninject.Web.Common (3.0.0.7), Ninject.MVC3 (3.0.0.6)
Where is BindFilter or BindHttpFilter? Something has changed? How to bind filter attributes in asp.net web api? There are so many libraries and projects, and the documents do not tell you what is the current work and what is outdated ....
source share