Questions tagged [iextensibledataobject]

5 questions
9
votes
3 answers

IExtensibleDataObject usage in clients

I have converted my web service to wcf service which has some datacontracts. As a best practice it is mentioned and advisable that the DataContracts should inherit from IExtensibleDataObject. I get the point that in case of addition or removal of…
Ashish
  • 2,544
  • 6
  • 37
  • 53
2
votes
1 answer

XmlSerializer equivalent of IExtensibleDataObject

With DataContracts you can derive from IExtensibleDataObject to allow round-tripping to work without losing any unknown additional data from your XML file. I can't use DataContract because I need to control the formatting of the output XML. But I…
demoncodemonkey
  • 11,730
  • 10
  • 61
  • 103
2
votes
0 answers

DataContract Models in Portable Class Library not extensible?

I am creating a Portable Class Library targeting .Net 4.5+, Silverlight 5+, and Windows 8+ Store Apps. This library includes Model objects that will be serialized and deserialized into files for transport between implementing applications. While…
0
votes
1 answer

IExtensibleDataObject achieving Forward and Backward compatibility

I donot implement this interface in DC at Server. Though I got this implementation generated by VS2008 at client automatically, which is fine. Now i go and edit my Reference.cs to include a new field (differentiating the Server DC (inputparameter) …
sahridhayan
  • 55
  • 1
  • 9
0
votes
1 answer

Alter Json or ExtensionDataObject

I have a Json service I cannot alter as it is not mine. Their Json is a formatted in a way that parsing it is difficult. It looks something like this. "people": { "Joe Bob": { "name": "Joe Bob", "id": "12345" …
vSteve
  • 63
  • 1
  • 1
  • 8