Hi there, I'm having some issues with managing release of components in a web application built on ASP.NET WebForms. I set up a MVC pattern where at the beginning of the request I inject my controllers into the pages. The controllers are registered with PerWebRequest lifestyle, and as I see from the code they are supposed to be released by the container when the request ends. They have several dependencies with mixed lifestyles, and usign a profiler I notice that many of them are not actually released, instead at each request the number of instances grows up.
I'm pretty sure I'm doing something wrong so I wanted a heads up to what to look for to investigate this issue. The controllers - which are the only one I resolve explicitly from the container - depend on several other components with mixed lifestyles some of which implement the IDisposable interface - which I know caused issues in the past due to a problem about component burden which afaik should be fixed now. Is there anything specific I should be looking for to investigate this issue? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
