Is it possible to use objects of Entity classes as Data Contract on WCF service ? So I can send them on the client side. is this good design approach ?
I am writing my first WCF service. I am trying to understand how Datacontracts work. I have read the MSDN Article that describes how custom types should be marked up to create a data contract but I ca
I\'m writing a serialization function that needs to determine whether class has DataContract attribute. Basically function will use DataContractSerializer if class has DataContract attribute, otherwis
I know when you create a service you can create a generic DataContract: [DataContract(Name = \"Get{0}Request\")
Basically: [DataContract(Namespace = \"http://www.abc.com/foo\" Name = \"Get{0}Request\")] public class GetGenericRequest<T> { ... }
[DataContract] public abstract class FooBase { [DataMember] public int Bar { get; set; } } That is a base class that I use as the base class for other classes that are also DataContracts. Here\'s th
What\'s the practical way of serializing an instance of subclass by using DataContractSerializer? For example, here are the data types:
A very simple question... Is it correct to apply a DataMember attribute to an event or a delegate to let it be serialized?
As I understand it you should use the Order property of the DataMember attribute so that you can add things to the data contract without the change in order causing things to break, but how should you
There are thousands of questions regarding DataContract(s) in WCF, with special attention for those situations where inheritance is involved.