开发者

WCF static singleton loses its values

I have a wcf with a a开发者_如何转开发pplication global static variable. This variable loses all its values and resets? What could cause this to happen? How can I avoid it?


If this WCF service is hosted in IIS, it is likely you are falling victim to automatic app pool recycling.

See the Recycling section at http://msdn.microsoft.com/en-us/library/bb332338.aspx#msdnwcfhc_topic5

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜