How to store Ninject Kernel in an ASP.NET Application?
问题 I'm really confused about small, partial, one-file examples where there's a Ninject kernel everywhere without showing how to really get to that kernel in the application. (1) Should we instantiate one Kernel and keep it in "static" context? Or should we instantiate a different one on every request (*in Application_BeginRequest*) (2) If it is "kernel per request", then why Initialize() method of the NinjectWebCommon.cs ( gets when you install the NuGet package ) is called on Application_Start