I'd like to Ninject as the IOC container for my WebForms solution to ac开发者_StackOverflow中文版hieve property injection, but the global.asax is already inheriting from another class so I cannot inherit from NinjectHttpApplication as well.
Does any one have any solutions as to how I can achieve this?
The current development version (2.3.0.x) comes with NuGet package using WebActivator that does not require to inherit from HttpApplication. You have to build it yourself though as it is work in progress.
精彩评论