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
{
/// 1. C# Entity class serialization and deserialization 2 (DataContractSerializer)
Introduction: First of all, there are a few points mentioned above. If there is WSDL at the end of the request URL, you need to call the WebServiceURL style example: http://ip:port/navigable /webservice/loginSerice?wsdl or .wsdlwsdl (Web Services Description Language) Network Service Description Language Calling WebService uses POST request soap string by default and uses common AFN 2. C# WCF DataContractSerializer class
Introduction: Use the DataContractSerializer class to serialize and deserialize type instances to XML Stream or document. You can specify which properties and fields to serialize by applying the DataContractAttribute attribute to classes and the DataMemberAttribute attribute to class members. 3. Introduction to 4 deep copy methods in C
Introduction: This article mainly introduces the introduction of 4 deep copy methods in C#. This article explains the implementation using reflection, using xml serialization and deserialization, using binary serialization and deserialization, and using silverlight DataContractSerializer implementation, used in silverlight client and other 4 methods, friends in need can refer to The above is the detailed content of Recommended articles about DataContractSerializer. For more information, please follow other related articles on the PHP Chinese website!