How to configure Ninject so that it creates a single instance per Controller
问题 I'm trying to use Ninject for an MVC5 application and I want to know if there's any way I can configure it so that instantiate a single object per Controller (I'm not sure if it the same as per request), use that instance in any Action of the controller and once the Action has finished release all the resources that the object utilized. The class that I want Ninject to inject in my controllers implements the IDisposable interface. So far I have tried this: private static void RegisterServices