I have a service that I am trying to pass a dictionary of objects through. All is well and works until I add a Dictionary of objects that then contains a Dictionary to yet another object. The dictiona
I am using the DataContractSerializer to serialize EF4 objects to xml if there are exceptions. In my debug log i can see want was the data-content when something went wrong.
I have a datacontract object and I am able to serialize it successfully to an xml using DataContractSerializer,but when I tried to access once of the node using XPath it is returning a null.I am unab
I am using开发者_运维百科 ASP MVC with JQuery and posting json data to my controller. var jsonPostData = {
I tested protobuf serialization and it seems that for below a certain quantity of objects, it\'s slower than regular datacontract serialization. The transmission size is bigger using DataContractSeria
I\'m having a strange problem with my WCF service that returns data in JSON format. I want to return information about a \"Customer\" based on the request sent by client.
Are there any ways to tell WCF to serialize the whole class when it returns?Do I literally have to ad开发者_运维技巧d DataMember to every property?Since .NET 3.5 SP1, you don\'t have to do this anymor
I\'m trying to serialize a class hierarchy to a Json string using DataContractJsonSerializer, in a WCF service.
Given the following code, [DataContract] public class TestClass { [DataMember] public object _TestVariable;
I\'m interested about the best way to go about setting custom element names when using List of primitives with the DataContractSerializer.Let\'s say I have the following class which contains a List of