.NET Framework class, Serializing and deserializing an instance of a type into an XML stream or document using a supplied data contract.
I am very confused about the DataContract attribute in WCF. As per my knowledge it is used for serializating user …
wcf datacontractserializer datacontract datamemberI have the following 2 functions: public static string Serialize(object obj) { DataContractSerializer serializer = new DataContractSerializer(obj.GetType()); MemoryStream memoryStream = new …
c# c#-4.0 xml-serialization datacontractserializerI'm looking for a way with C# which I can serialize a class into XML and add a namespace, but …
c# xml-serialization datacontractserializer xmlserializerI'm trying to transform some XML into HTML using XSLT. Problem: I can't get it to work. Can someone tell …
xml xslt namespaces transform datacontractserializerI'm refactoring my XML-serialization, and figured I'd try the DataContractSerializer. Everything runs smoothly, until it needs to serialize this class: …
.net xml serialization xml-serialization datacontractserializerI am receiving the following error on a WCF call: Maximum number of items that can be serialized or deserialized …
.net wcf datacontractserializer xmlserializer servicebehaviorI'm trying to deserialize an xml document: <?xml version="1.0"?> <games xmlns = "http://serialize"> <game> &…
c# asp.net .net datacontractserializer xml-deserializationI had a quick question regarding the datacontractserializer. Maybe it's more of a stream question. I found a piece of …
c# xml-serialization stream iostream datacontractserializerIs there an easy way to get DataContractSerializer to spit out formatted XML rather then one long string? I don't …
c# xml formatting datacontractserializerHow do I remove XML namespaces from an object's XML representation serialized using DataContractSerializer? That object needs to be serialized …
.net xml-serialization namespaces datacontractserializer