What are the attributes of Message Contract in WCF?



What are the attributes of Message Contract in WCF?..

Answer / Santosh Kumar Shah Gaur

The Message Contract defines the format of messages exchanged between a client and service in WCF. It consists of three main components: DataContract, OperationContract, and MessageContract. DataContract is used to define the data structure of the message, OperationContract specifies the methods and operations that can be performed on the message, and MessageContract is an optional component used for customizing the format of the message.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WCF Interview Questions

Which bindings in wcf support the message streaming?

1 Answers  


Elucidate on the various contracts in wcf?

1 Answers  


explain wcf web service (ws) binding type? : Wcf data services

1 Answers  


How to set the instancing mode in wcf service?

1 Answers  


What are the transport schemas supported by wcf?

1 Answers  


WCF:When is the MsmqIntegrationBinding or the NetMsmqBinding used?

1 Answers   CMC,


What are different elements of wcf services client configuration file?

1 Answers  


In wcf which bindings supports the reliable session?

1 Answers  


Define message contracts?

1 Answers  


Which bindings are used for metadata configuration in wcf?

1 Answers  


Explain service contracts?

1 Answers  


What are the different bindings supported by wcf?

1 Answers  


Categories