Questions about using Ninject
I went through the recommended steps to add Ninject to my MVC application. And I added a DbContext argument to my controllers' constructors. Controller: public class MyController : BaseController { public ArticlesController(MyDbContext context) : base(context) { } } Base Controller: public class BaseController : Controller { protected DbContext MyDbContext; public BaseController(MyDbContext context) { MyDbContext = context; } } This seems to work well. But leaves me with a few questions. Does Ninject ensure my DbContext is cleaned up and disposed in a timely fashion? I have created a base