1.

Explain Data Contract Serializer.

Answer»

WCF USES the DataContractSerializer class as its default serializer. Other serialization PURPOSES can be served by this serializer. Using the DataContractAttribute and DataMemberAttribute attributes, we can also EXPLICITLY CREATE a data contract.

Example: 
DataContractSerializer dataContractSerializer = new  DataContractSerializer(TYPEOF(MyTestClassType)); 



Discussion

No Comment Found