wcf service vs wcf rest service

A major difference between WCF SOAP and WCF REST is flexibility. WCF SOAP services supports a wide range of transport protocols(http,tcp,msmq), including HTTP. WCF REST services only support HTTP.

The second difference between the two types of services is that WCF SOAP services are an operations-based service.
THAT IS the reason we are using operation contract in wcf  service.

but WCF REST services are resource-based. A client sends an HTTP request, much the way an Internet browser does, and receives a resource in return, such as data, video, or images.

The third difference is To use WCF as WCF Rest service you have to must enable webHttpBindings.but wcf service you may enable basichttpbinding,wshttpbinding or tcp binding etc.

Enjoy........................
pls put your commands .
 

Comments