datacontractserializer
How to define which class is taken if an interface property is deserialized within a class?
Just imagine you have the following class [DataContract开发者_开发问答] public class NamedList { [DataMember][详细]
2022-12-30 07:26 分类:问答MessageContract serialization with DCS
Is there a way to make the DataContractSerializer serialize a [MessageContract] the same way it appears when transmitted over SOAP?[详细]
2022-12-29 20:26 分类:问答Silverlight: DataContractSerializer cannot handle read only collection properties
For our Silverlight Project (SL4) I\'m using a Model which might contain Lists (IList<An开发者_如何学JAVAotherModel>). According to good practice and rule CA2227:CollectionPropertiesShouldBeRead[详细]
2022-12-29 18:05 分类:问答F# DataContractJsonSerializer StackOverflowException
dataElementsList : TypesAndData.DataElement list is a list of 50,000 records (actually many more but let\'s start small).I am trying to serialize to a JSON file:[详细]
2022-12-28 06:44 分类:问答Object hierarchy returned by WCF Service is different than expected
My understanding may be wrong, but I thought once you applied the correct attributes the DataContractSerializer would render fully-qualified instances back to the caller.[详细]
2022-12-26 12:05 分类:问答WCF Serialization -More Information
I read some microsoft arti开发者_如何学编程cles.They explained that WCF uses DataContractSerializer for serialization.But the articles did not explain why DataContractSerializer preferred over[详细]
2022-12-25 10:24 分类:问答Changing what a property is serialized as
I think i already know the answer to this, but i cannot find anything that states it definitively, hence my question - i want to make sure i am not missing a trick.[详细]
2022-12-25 08:00 分类:问答WCF Datacontract, some fields do not deserialize
Problem: I have a WCF service setup to be an endpoint for a call from an external system. The call is sending plain xml. I am testing the system by sending calls into the service from Fiddler using t[详细]
2022-12-24 08:57 分类:问答Put objects which are decorated with [DataContract] into a StateServer?
Is there anyway to stick objects which are decorated with DataContract attributes but not decorated with Serializable attributes in to a SqlServer StateServer? In other words, I would prefer not havin[详细]
2022-12-23 05:58 分类:问答WCF DataContractSerializer fails to serialize
I have a straight forward service like: [ServiceContract] public interface IService { [WebGet(UriTemplate = \"/\", ResponseFormat = WebMessageFormat.Xml)][详细]
2022-12-21 23:45 分类:问答