datacontract
DataContract for enums in WCF
I have a enum that I use via a WCF service in a .Net project. Now I want to add another enum, specified in the same way as the first.[详细]
2023-03-08 05:42 分类:问答WCF and [DATACONTRACT]+[DATAMEMBER]
I was wondering how to add the DataContract to my service? I mean, I know I have to create a class, put [DATACONTRACT] on top of it and then add [DATAMEMBER] on top of each members, but then how to ad[详细]
2023-03-08 05:30 分类:问答How to share entity C# class, with DataContract attribute, between Silverlight and.Net 4 projects
I want to build a WCF REST service, consumed by a Silverlight app, and want to check if there is a good way to share the entity class between the w开发者_如何学JAVAeb wcf project and the Silverlight p[详细]
2023-03-07 05:59 分类:问答MyType<T> DataContract is in the Silverlight client MyTypeOfT
i have a WCF service with a Property<T> DataContract (with KnownType, et cetera...), but in the Silverlight client I have just PropertyOfint开发者_运维问答, PropertyOfstring, ... types, but I ne[详细]
2023-03-04 22:45 分类:问答WCF - way of using data contracts
If I have a core class which is used internally by all the modules and then I would like to publish a wcf service which would make use of this class... then what is the best way to do that? Is it bett[详细]
2023-03-03 17:28 分类:问答.NET DataContractJsonSerializer, Nested collections throwing me for a loop
I\'m working on a class to get the Latitude and Longitude of an address by 3different providers (just for comparison sake).[详细]
2023-03-01 21:43 分类:问答Accessing WCF service inside DataContract set accessors?
G\'day, I am trying to work out how (if it is even possible) to access the WCF Service object from within a set accessor for the datacontract property.[详细]
2023-03-01 03:06 分类:问答ISerializable and DataContract
Using WCF In Silverlight services, typically we want to use the DataContract and Datamember attributes to opt into what we want to have serialized. This is what we send to and from the client. For mos[详细]
2023-02-27 17:53 分类:问答WCF DataContract Issue
I have a Visual Studio 2010 Solution with 3 projects: Shared, which contains a single class called ServiceResult.The class is attributed with DataCon开发者_开发技巧tract(IsReference=true), and each pr[详细]
2023-02-26 21:04 分类:问答Inheritance resolved at runtime in protobuf-net
Is it possible to specify at runtime the sub-types of a specific abstract contract? In the classic WCF/DataContract we have the KnownTypeAttribute and its constructor accepting a string representing t[详细]
2023-02-24 03:27 分类:问答