datacontractserializer Questions

2

Solved

I ve been looking at this for a while now It seems that binary serialisation is discouraged as any change to field names breaks serialisation =? Not Good XMLSerializer is problematic because you ...
Bestow asked 29/12, 2009 at 21:25

3

Solved

DataContractSerializer requires classes and members to be marked with the DataContract and DataMember attributes. However, in my case the classes are auto-generated with the EFPocoAdapater framewor...

2

Solved

I'm trying to transform some XML into HTML using XSLT. Problem: I can't get it to work. Can someone tell me what I'm doing wrong? XML: <ArrayOfBrokerage xmlns:i="http://www.w3.org/2001/XMLS...
Allotment asked 13/11, 2009 at 17:52

1

Solved

When deserializing, DataContractSerializer requires not only that an element name matches, but also that it is in a certain order with respect to the other elements. My application is such that ev...
Roeder asked 3/10, 2009 at 11:30

2

I'm upgrading a restful service, and am now using the DataContractSerializer to output the response. The previous version just used custom serialization w/ XmlSerializer. Because that version used ...
Stephainestephan asked 20/8, 2009 at 17:44

1

Solved

I've read many articles about known types and i belive my example should work. But it doesn't. I'm getting the following exception on deserialization and don't understand why: Error in line 1 posi...
Whitethorn asked 24/7, 2009 at 13:13

1

Solved

I'm writing a windows service application that needs to serialize and deserialize XML documents repeatedly during its execution. As I need to serialize and deserialize generic types that are not kn...

1

Solved

Ok so I got DataContractSerializer working with my object graph. See my previous questions for more information. Serialization / Derialization of a tree structure The deserializer has no knowlege...
Forcier asked 10/4, 2009 at 22:22

3

Solved

I'm trying to serialize and deserialize a tree of Node objects. My abstract "Node" class as well as other abstract and concrete classes that derive from it are defined in my "Informa" project. In a...
Disgraceful asked 10/4, 2009 at 6:44

1

Solved

I'm trying to figure out the best way to save (serialize) and later open (deserialize) a tree structure. My structure is made up of various object types with different properties, but each inherits...
Parenthesize asked 10/4, 2009 at 2:46

1

Solved

I would like to force svcutil to generate all data contracts in an assembly that is used by WCF, regardless of whether or not a type is referenced by a given operation contract. [DataContract] pub...
Goines asked 30/1, 2009 at 19:43

3

In C#, if I want to serialize an instance with XmlSerializer, the object's type doesn't have to be marked with [Serializable] attribute. However, for other serialization approaches, such as DataCon...
Invasion asked 25/12, 2008 at 1:59

© 2022 - 2024 — McMap. All rights reserved.