Message, DataContract: codegen

Topics: Service Factory Modeling Edition Forum
Jan 23, 2007 at 7:16 AM
When adding collections to a message or a data contract, the generated code should make the public property read-only and apply the MessageBodyMember/DataMember to the private field, using the Name property of the attribute. This to adhere to collection member "best practices" (ref. FxCop rules). Consider doing the same when adding objects as members.
Developer
Jan 29, 2007 at 7:19 PM
Thanks for the feedback.
We'll consider your suggestion for next version.

Hernan