datacontractserializer
how can I pass a dictionary of items contianing dictionaries of items?
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[详细]
2023-03-05 10:53 分类:问答Why is DataContractSerializer to StringWriter truncated?
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.[详细]
2023-03-04 03:32 分类:问答XPath not working in xml created using DataContractSerializer
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[详细]
2023-03-03 13:55 分类:问答MVC - Http Post JSON - Serialization Dependency
I am using开发者_运维百科 ASP MVC with JQuery and posting json data to my controller. var jsonPostData = {[详细]
2023-03-02 04:15 分类:问答Performance of protobuf-net vs DataContractSerializer over WCF
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[详细]
2023-02-28 13:45 分类:问答how to not return null when a Data member field is not set in the data contract
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.[详细]
2023-02-26 20:51 分类:问答DataContracts and DataMembers
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[详细]
2023-02-25 16:56 分类:问答How to serialize class type but not the namespace to a Json string using DataContractJsonSerializer
I\'m trying to serialize a class hierarchy to a Json string using DataContractJsonSerializer, in a WCF service.[详细]
2023-02-25 00:57 分类:问答C# DataContractSerializer SerializationException with Enum set in object field
Given the following code, [DataContract] public class TestClass { [DataMember] public object _TestVariable;[详细]
2023-02-22 21:39 分类:问答Custom Element Names using the DataContractSerializer on a List of primitives
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[详细]
2023-02-22 00:17 分类:问答
加载中,请稍侯......