Wednesday, February 2, 2011

Avoid static variables in ASP.NET « The Foliotek Development Blog

I'm reworking an application using WCF Data Services and I really hate instantiating tons of data context objects. I was using static variables but I wasn't quite sure how long lived the objects were. I found this article which does a good job explaining it. Needless to say, I'm not using static variables any more.

Avoid static variables in ASP.NET « The Foliotek Development Blog

No comments:

Post a Comment