Редактиране

Споделяне чрез


Data Contract Serializer

The Windows Communication Foundation (WCF) infrastructure uses the DataContractSerializer class as the default serializer. The topics in this section provide more details for using it as a stand-alone serializer.

In This Section

Serialization and Deserialization
Details how to use the DataContractSerializer class to serialize object graphs and deserialize XML documents into objects.

Schema Import and Export
Explains how to generate an XML Schema definition language (XSD) schema from a .NET Framework class, or how to generate code from an XSD schema document.

Reference

DataContractSerializer

NetDataContractSerializer

DataContractAttribute

DataMemberAttribute

Using Data Contracts

Data Transfer and Serialization

See also