I have some class that I\'m passing as a result of a service method, and that class has a get-only property:
[DataContract] public class ErrorBase { [DataM
If your serializer is of type DataContractJsonSerializer (or any DataContractSerializer) you can also use DataContractSerializerSettings in the constructor, with the SerializeReadOnlyTypes property set to true.