malaikuangren

What is the purpose or drive to build thing like (xxx),How can it achieve the original goal of design?

2012年6月28日

How and Why implement IXmlSerializable Interface

摘要: msdn note :Provides custom formatting for XML serialization and deserialization.There are two reasons to implement this interface. The first is to control how your object is serialized or deserialized by theXmlSerializer. For example, you can chunk data into bytes instead of buffering large data set 阅读全文

posted @ 2012-06-28 23:05 malaikuangren 阅读(1125) 评论(0) 推荐(0) 编辑
Begin Example with Override Encoded SOAP XML Serialization

摘要: The process for overriding XML serialization of objects as SOAP messages is similar to the process for overriding standard XML serialization. For information about overriding standard XML serialization, seeHow to: Specify an Alternate Element Name for an XML Stream.To override serialization of objec 阅读全文

posted @ 2012-06-28 22:31 malaikuangren 阅读(514) 评论(0) 推荐(0) 编辑
Beginning Guide With Controlling XML Serialization Using Attributes(XmlSerializaiton of Array)

摘要: refered to :http://msdn.microsoft.com/en-us/library/2baksw0z(v=vs.80).aspxAttributes can be used to control the XML serialization of an object or to create an alternate XML stream from the same set of classes. For more details about creating an alternate XML stream, seeHow to: Specify an Alternate E 阅读全文

posted @ 2012-06-28 14:39 malaikuangren 阅读(278) 评论(0) 推荐(0) 编辑
How to: Specify an Alternate Element Name for an XML Stream

摘要: Using theXmlSerializer, you can generate more than one XML stream with the same set of classes. You might want to do this because two different XML Web services require the same basic information, with only slight differences. For example, imagine two XML Web services that process orders for books, 阅读全文

posted @ 2012-06-28 13:02 malaikuangren 阅读(608) 评论(0) 推荐(0) 编辑