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
精彩评论