We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Ninject.Web.Common lets you inject IHttpModules very easily. The only thing you have to do is to add a binding for your http module like this:
kernel.Bind<IHttpModule>().To<MyHttpModule>();
If you are deriving from NinjectHttpApplication you have to add the NinjectHttpModule to your web.config.
<configuration> <system.web> <httpModules> <add name="NinjectHttpModule" type="Ninject.Web.Common.NinjectHttpModule"/> </httpModules> </system.web> </configuration>