开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜