Christopher Schittko has a post regarding the XmlSerializerCache he wrote for the MVP.Xml project. Nice stuff. I haven't used it myself, but I must admit to taking advantage on more than one time of the Microsoft.Web.Services2.Xml.XmlSerializerCache class that is part of WSE to work around the performance problems introduced by repeatedly creating XmlSerializer instances.

Use either one, but use it, for gods sakes. Just blindly creating XmlSerializer instances for a single type repeatedly is not only slow, but also leaks like a running nose in cold december...

Tomas Restrepo

Software developer located in Colombia.