datacontractserializer
Data Contract for a class with fields being user defined classes itself
I am Using WCF service to implement my web-service I have problem when I try to call my function which takes URL as input parameter and returns an object class which was defined by me.[详细]
2023-01-19 01:41 分类:问答DataContractSerializer - Problems
I\'m having what must be a VERY SILLY issue with the Data Contract Serializer. It refuses to work. I\'m just trying to serialize an object into an XmlDocument, however I seem to be hitting a wall.[详细]
2023-01-18 13:13 分类:问答Error: "The deserializer has no knowledge of any type that maps to this contract"?
I have a class Foo marked [Serializable] and implementing ISerializable. I\'m trying to serialize it via DataContractSerializer. In GetObjectData I do this:[详细]
2023-01-18 02:00 分类:问答How to ensure interoperability with DataContractSerializer when talking to non-.NET app?
Say I have a non-.NET app which needs to write data to be deserialized by a 开发者_高级运维.NET app via DataContractSerializer. Where\'s the specification describing the exact format necessary?[详细]
2023-01-17 16:28 分类:问答WCF method throws an exception of maximum items in an object graph is '65536'
I get an exception when there are too many objects returned: The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http:/[详细]
2023-01-14 19:02 分类:问答Does the DataContractSerializer call property getters/setters?
I know that on deserialization the DataContractS开发者_如何学Cerializer does not call the constructor.Does it also bypass a public or private property\'s setter method?Just tried it out -- The propert[详细]
2023-01-13 14:36 分类:问答Slightly non-trivial data structure: is XmlSerializer right for me?
I\'m currently using XmlSerializer to, surprisingly enough :), handle de/serialization of my data structures - I find it wonderfully simple to use, but at the cost of flexibility. At the moment, I\'m[详细]
2023-01-12 23:08 分类:问答Can I control what subtype to use when deserializing a JSON string?
I\'m working with Facebook API and it\'s search method returns a JSON response like this: { \"data\": [[详细]
2023-01-08 23:50 分类:问答Serialize/deserialize objects - order of fields matters?
Is it possible that DataContractSerializer wrongly deserializes an object if the fields are not in the \"correct\" (whatever that means) order?[详细]
2023-01-08 11:10 分类:问答WCF - Can I use an existing type to be passed through my WCF service
I have a service.I have开发者_高级运维 an existing class of business objects.What I would like to know is how can I pass a class through WCF from the business object assembly without having to create[详细]
2023-01-07 22:04 分类:问答