How we can use MessageContract partially with DataContract for a service operation in WCF?



How we can use MessageContract partially with DataContract for a service operation in WCF?..

Answer / Aarti Katyal

To use MessageContract partially with DataContract, you can create a Message Contract that inherits from DataContract and add custom elements to it using MessageBodyMember attribute. The DataContract will be used as a basis while generating the service contract and data serialization.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WCF Interview Questions

Why to use wcf?

1 Answers  


Tell me what is three major points in wcf? : Wcf data services

1 Answers  


What is the messaging pattern? Which messaging pattern wcf supports?

1 Answers  


What is the windows communication foundation?

1 Answers  


tell me what is proxy and how to generate proxy for wcf services? : Wcf data services

1 Answers  


What are the different types of transaction managers supported by wcf?

1 Answers  


Which are the various programming approaches for wcf?

1 Answers  


What are the features of wcf?

1 Answers  


Which styles of models are supported in wcf?

1 Answers  


When is the msmqintegrationbinding?

1 Answers  


How to do authentication in wcf?

1 Answers  


Explain briefly different instance modes in wcf?

1 Answers  


Categories