Question:You defi ne your own custom type to be used with your WCF service. This type represents
a product at your company. It contains a number of public properties. You wish
to expose this type in such a way as to be serialized and defi ned by an XSD schema.
What actions should you take? (Choose all that apply.)
A Mark your product class with the DataContract attribute.
B Mark your product class with the ServiceContract attribute.
C Mark the public members of your product class with the OperationContract
attribute.D Mark the public members of your product class with the DataMember attribute.
+ AnswerA D
+ Report