开发者

Is it possible to use Ninject without inheriting from NinjectHttpApplication?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜