ServiceContractAttribute Name and Namespace – The name and namespace are the optional attibutes. Default name is same as the contract type and namespace is http://tempuri.org. It is always recommondable to use Namespace to specify proper namespace which remove the conflict of the datatype/contract. CallbackContract – Return contract in a two-way (duplex) conversation. HasProtectionLevel and ProtectionLevel – Specifies whether […]
Archive for July, 2009
Tutorial Windows Communication Foundation (WCF) – ServiceContract & OperationContract – Attributes
Posted by: abu | July 20, 2009 | No Comment |RESTful WCF Services works by identifing the Resources & Action from Uniform Resource Identifiers (URIs). A RESTful web service is called by a unique URI to refer a resource and HTTP verb is to define actions to the resource. HTTP Method – VerbGET – Fetch PUT – Update/Insert DELETE – Delete POST – Append webHttpBinding […]