Ninject.MVC5 Release Scope Never Called - OutOfMemoryException
问题 I'm new to Ninject, but I've become convinced that the out of the box configuration for Ninject.MVC5 NuGet package never actually releases the objects scoped to the HttpContext. I consistently get an OutOfMemoryException after a bout of repeated heavy memory usage by some of my larger reports. So to prove I wasn't losing my mind I created an empty test project. I created a default project in VS 2017 by File -> New Project -> C# -> Web -> ASP.NET Web Application -> MVC (in the modal). This is