datacontract
Custom DataMember names to deserialize a JSON class
I cannot manage to specify custom names for properties. I receive som开发者_运维百科e JSON from the server (which I cannot change) with some ugly property names. I\'d like the C# code to stick to nami[详细]
2023-04-04 01:25 分类:问答How to avoid name-clashes in xsds between BizTalk messages and WCF service datacontracts
Consider the following: I have BizTalk project and inside it I have placed xsd schemas for messages.[详细]
2023-04-03 22:23 分类:问答How to Serialize list<objects> using DataContractSerializer
Library shared between server and client contains interface : [ServiceContract(SessionMode=SessionMode.Required, CallbackContract=typeof(IClient))][详细]
2023-04-02 08:48 分类:问答Add #if/#endif directives to DataContract attribute on CodeTypeDefinition of generated class
I\'m working with an XSD -> C# class parser which generates classes for our data model, which is to be shared between a WPF client and a Silverlight web-based portion.[详细]
2023-04-02 01:56 分类:问答Object definition not updating when changes are made to object inside Web Service
I\'ve made a change to an object (added a class a开发者_开发百科ttribute) inside a web service and published the service. On a separate project, updating the web service reference (in Visual Studio) y[详细]
2023-03-30 19:41 分类:问答WCF: How do i return a .NET Framework class via Datacontract?
As a beginner to WCF i want to implement a call to the Active Directory Service which gets all Users, the method looks like this:[详细]
2023-03-29 01:12 分类:问答CommunicationException: Error while trying to serialize parameter
I have a webservice with a method that takes a parameter of abstract base type Specification<TDomainModel> as parameter. I realize that WCF don\'t know how to de-/serialize this without specifyi[详细]
2023-03-24 06:58 分类:问答WCF—Separating Contract from Implementation
Is there anyway one can separate the contract (data members) from the implementation (remaining methods used only by the serv开发者_开发百科ice internals) of a given class marked as DataContract in tw[详细]
2023-03-24 06:10 分类:问答WCF result deserializing to default values for value types in a list of key/value pairs
I have a开发者_开发百科 WCF service and the result is a custom TimeSeries class defined as: [DataContract][详细]
2023-03-24 00:54 分类:问答Problem with DataContract and hierarchy on WCF
i have a problem with an object in my wcf project. I have lets say this object: [DataContract(Name=\"ClassA\")][详细]
2023-03-23 15:33 分类:问答