Spring .NET, WCF and Singletons
It appears there's some issue integrating Spring .NET with WCF for getting singleton semantics. I looked around a bit on the net but I couldn't find anything conclusive.
Has anybody used Spring.Net with a WCF service where the instance context mode has been set to Single, Concurrency Mode set to multiple and the object definition开发者_StackOverflow in spring configuration marked as a singleton?
Check the Spring documentation : http://www.springframework.net/doc-latest/reference/html/wcf.html
"The object must be declared as a 'prototype' object, i.e. not a singleton, in order to interact correctly with WCF instancing."
HTH
精彩评论