Browse by Tags

All Tags » XmlSerializer (RSS)

Follow up: Workaround for XmlSerializer assembly leaks by ChristophDotNet

A while ago, Paul Wilson and Kirk Allen Evans reported that the XmlSerializer is leaking assemblies when the serializer object was instantiated with any of the constructors but the most basic one. The simple XmlSerializer constructor has logic to re-use...
Filed under: , ,

Interface inconsistencies between ASMX Web services and System.Xml V1 and V2 by ChristophDotNet

I've been wondering why the class designs between ASMX Web services and System.Xml seem to be so disconnected. It seems like the ASMX team really doesn't get to keep up with the way things are done in System.Xml. Take the feature that you can return an...

My article on troubleshooting the XmlSerializer is up on MSDN XML Dev Center by ChristophDotNet

This new article is a much extended version of a post I had here several months ago. It desribes the various problems you can encounter working with the XmlSerializer and how to diagnose them. You can find the article here . Thanks Dare for putting it...
Filed under: , ,

Leaks with the XmlSerializer? by ChristophDotNet

Kirk Allen Evans and Paul Wilson are investigating some strange behavior that Paul found using the XmlSerializer. Make sure to read the follow-up .
Filed under: ,

XmlSerializer or SoapFormatter? by ChristophDotNet

This question comes up frequently in the dotnet.xml newsgroup. Here's an article that may help to pick the correct one.
Filed under:

The XmlFormatter Architecture in Indigo by ChristophDotNet

Indigo will ship another object <--> XML “converter“, the XmlFormatter. The XmlFormatter feels like the successor to the SoapFormatter. It doesn't have the limitations of the XmlSerializer, but doesn't allow for the customization of...
Filed under: , ,

Improvements to the XmlSerializer in Whidbey by ChristophDotNet

From Doug Purdy's PDC '03 talk: The new imperative model for the XmlSerializer opens up the previously unsupported interface IXmlSerializable. With the Whidbey release, the interface is now fully supported and the broken type import feature is fixed....
Filed under: , ,

Article on troubleshooting problems with the XmlSerializer by ChristophDotNet

Learn about interpreting exceptions from the XmlSerializer and debugging serialization problems....
Filed under:

Have you ever tried to xml serialize a class hierarchy derived from CollectionBase? by ChristophDotNet

If you ever tried to serialize and deserialize a hierachy of classes starting a CollectionBase, you found that it doesn't work. Consider a hierarchy like: [XmlInclude(“DerivedCollection“)] public class MyBase : CollectionBase { // implement...
Filed under:
More Posts