What is use of MessageContract Attribute in WCF?
What is use of MessageContract attribute in WCF?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Prasham SabadraPosted Nov 26, 2015, 1:07 AM
Raja TPosted Nov 26, 2015, 4:53 AM
Krishna MauryaPosted Nov 26, 2015, 4:36 AM
Krishna MauryaPosted Nov 26, 2015, 4:35 AM
Raja TPosted Nov 25, 2015, 11:56 PM
In WCF services, a DataContract enables us to define the structure of the data. This data is sent in the body of our SOAP (Simple Object Access Protocol) messages. These messages may be of either inbound (request) or outbound (response) type. A message is nothing but a packet and WCF uses this packet to transfer information from source to destination. This message contains an envelope, header and body.
more details checkout below links
http://www.c-sharpcorner.com/UploadFile/db2972/wcf-message-contract-day-9/
http://wcftutorial.net/Message-Contract-Properties.aspx
http://www.codeproject.com/Articles/733660/DataContract-Vs-MessageContract-in-WCF