datacontract
WCF DataContract GetCustomDataToExport
I\'m trying to get the default behavior for a client referencing my WCF WSDL to set IsReference to true on the imported DataContracts. It looks like I should be able to use an IDataContractSurrogate w[详细]
2023-02-04 00:47 分类:问答DataContract/DataMember multiple elements in xml
I have an XML like this: <data> <foo>some value</foo> <result>...</result>[详细]
2023-02-02 08:29 分类:问答Serializing Object Tree for WCF transfer in Silverlight using IsReference=true
I\'m using Silverlight 4, .NET 4.0. I have an object that\'s defined in a shared library (shared between my Silverlight project, and the web project hosting the WCF service)[详细]
2023-01-31 16:52 分类:问答WCF DataContract deserialization issue with empty values
Say i have something like: [DataContract(Namespace=\"http://bla.bla\")] public class MyClass { [DataMember] public long ResponseCod开发者_开发百科e { get; set; }[详细]
2023-01-30 22:18 分类:问答DataContract serialization of an inherited type into a base type
I\'m trying to serialize class B as an instance of ita base class A. The DataContractSerializer won\'t allow me to do that.[详细]
2023-01-30 12:12 分类:问答In Silverlight, add custom property to a generated Linq class + manage events
I\'m using Linq to SQL classes in my WCF. Those classes are returned from the WCF methods to the Silverlight. Now, I want to add a custom property on a the generated class (Silverlight side) and trigg[详细]
2023-01-29 04:37 分类:问答Serialization Circular exception caused by self-referencing Read-only property
When trying to return an object from a JSON asp.net 3.5SP1 WebService (not WCF, classic asp.net WebService with scriptservice attribute), I have an \"A circular reference was detected while serializin[详细]
2023-01-28 15:10 分类:问答Transforming Linq To Sql DataContext objects to DataContract objects
I have DataContext classes generated from dbml. Once I get data from the database, I need to transform them into DataContract classes so that the objects can be sent via WCF.[详细]
2023-01-27 03:10 分类:问答Decoding a Java/JSON Map into an F# object
I\'m having trouble converting a Java/JSON map into a usable F# object. Here\'s the heart of my code: member this.getMapFromRpcAsynchronously =[详细]
2023-01-26 02:23 分类:问答How to serialize a derived type as its base type with WCF
I have a common library with some objects in it.Then I have a service project that references the common library and creates some derived types from objects in the common library.[详细]
2023-01-24 21:05 分类:问答
加载中,请稍侯......