After NetDataContractSerializer.Serialize (), the xml content contains extra information such as xmlns, z:Id, z:Type, z:Assembly, etc. We only need the data members information that were in the serializable class. Is there an easy way to get rid of those auto-generated information? I have found a solution for xmlserializer but not netdatacontractserializer. Anyone able to help?
Thanks.