locked
EmitDefaultValue property of DataMember attribute not honoured in RIA Services RRS feed

  • Question

  • Dear all,

    I am trying to decrease the size of web service responces in my RIA Services application. One of the solutions I thought of is to make the data serializer not to include properties with null (or default) values in the response. It appears there is a property of DataMember attribute called EmitDefaultValue, having exactly the same meaning. Unfortunately it is not working as expected in RIA Services (or at least I could not get it working).

    I would appreciate any possible ideas.

    Thank you.

    Wednesday, July 27, 2011 8:12 AM

Answers