Today I ran into an interesting issue. I have a process that uses many database Repositories that are intended to share a DbContext. This is necessary due to a reliance, and desire to use, Entity Framework’s state tracking.
However, once I moved away from working entirely from an HttpContext scope, my Ninject bindings failed me.