How to enable REST and SOAP both on the same WCF Service

In this post I will show you, how to create a WCF Service with both flavor of SOAP and REST paradigm . For purpose of this post , I am going to create a Calculator Service with following characteristics Serivice will have both SOAP and REST enabled REST Service will have JOSN Message format In … Continue reading How to enable REST and SOAP both on the same WCF Service

Internal classes to understand WCF Message: XmlDictionary Class

In last post we discussed the way we could create WCF Message. If you go back and reexamine CreateMessage() function , you will find this function is overloaded with 11 different set of inputs. It is common when you will create Message, you may use XmlDictionary class. XmlDictionary class allows us to create a private … Continue reading Internal classes to understand WCF Message: XmlDictionary Class

WCF SOAP Message Version

Service and client communicate to each other through Messages. So they must be agreed upon the Message version while communicating. Service may send Message as POX or may be as SOAP12. When at service side we create a SOAP Message, we term it as Message Object Model. Essentially, we can say Message Object Model is … Continue reading WCF SOAP Message Version