WCF Quick Start – Designing Service Contracts

יום חמישי, אפריל 17, 2008

WCF Quick Start - Designing Service Contracts The first step in creating WCF service is to define the Service Contract. Each service in WCF consists of endpoints, and each endpoint consists of an address, a binding, and a contract. Contracts of web services consists from set WSDL and XSD documents. In WCF, contract are a set of .NET type definitions annotated with special attributes, which can be turned into a set of WSDL and XSD documents. There are three types of contracts in WCF: Service Contract Data Contract Message Contract Service Contracts Service Contract describe the service itself. The following image show how to create new WCF Application Program (named ArticleService):   By taking...
תגיות: , , , ,
3 תגובות