kalyan_vb wrote:
why the DataMember attribute is applying on class fields rather than Properties in WCF
I'm not quite sure what you're asking here, but keep in mind the serializer you use will also determine if the data contract attributes are honored or not. For example, the BinaryFormatter "serializes public and private fields of a type". You haven't shown what serializer you are using.
Mark Salsbery Microsoft MVP - Visual C++ :java: