I was wondering how you can control the object lifetime using Dependency Injection. I found that I can create objects as singletons or prototype (creating a new instance each time), however how do I handle situations where I would like to define a scope for a singleton object, and when it is out of scope a new object is created...
Can someone point me to the right direction regarding object lifetime using spring.net


Reply With Quote