Using system;using system.collections.generic;using system.linq;using system.text;using System.runtime.serialization;using system.io;using system.xml;namespace common.utility.xmlserialization{//< summary>//DataContractSerializer//</sum
1. Serialization and deserialization of C # entity Classes II (DataContractSerializer)
Introduction: First, there are a few points in front of the general, the request URL after the need to invoke the WSDL word WebServiceURL style example: Http://ip:port/navigable/webservice/loginSerice? The WSDL or. WSDLWSDL (Web Services Description Language) Network Service Description Language call WebService by default uses the POST request SOAP string using the common AFN
2. C # WCF DataContractSerializer class
Summary: Use the DataContractSerializer class to serialize and deserialize an instance of a type into an XML stream or document. You can specify the properties and fields to serialize by applying the DataContractAttribute attribute to the class and applying the DataMemberAttribute attribute to the class member.
3. Introduction of 4 Deep-copy methods in C #
Introduction: This article mainly introduces 4 kinds of deep-copy methods introduced in C #, this paper explains the implementation of using reflection, using XML serialization and deserialization implementation, the use of binary serialization and deserialization implementation, using Silverlight DataContractSerializer implementation, There are 4 ways to use the Silverlight client, and the friends you need can refer to the following