Outils pour utilisateurs

Outils du site


cours:app_rep_orientees_service_2016_2017:lab_address

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
cours:app_rep_orientees_service_2016_2017:lab_address [2019/04/24 00:25]
tigli créée
cours:app_rep_orientees_service_2016_2017:lab_address [2019/04/24 07:35] (Version actuelle)
tigli [Introduction]
Ligne 1: Ligne 1:
 +==== Few reminders about WCF ABC Model   ====
  
-=== Tutorial on Address in ABC===+The ABC of Windows Communication Foundation 
 + 
 +"​ABC"​ is the WCF mantra. "​ABC"​ is the key to understanding how a WCF service endpoint is composed. Think Ernie, Bert, Cookie Monster or Big Bird. Remember "​ABC"​. 
 + 
 +  * "​A"​ stands for Address: Where is the service? 
 +  * "​B"​ stands for Binding: How do I talk to the service? 
 +  * "​C"​ stands for Contract: What can the service do for me? 
 + 
 +Web services zealots who read Web Service Description Language (WSDL) descriptions at the breakfast table will easily recognize these three concepts as the three levels of abstraction expressed in WSDL. So if you live in a world full of angle brackets, you can look at it this way: 
 + 
 +  * "​A"​ stands for Address—as expressed in the wsdl:​service section and links wsdl:​binding to a concrete service endpoint address. 
 +  * "​B"​ stands for Binding—as expressed in the wsdl:​binding section and binds a wsdl:​portType contract description to a concrete transport, an envelope format and associated policies. 
 +  * "​C"​ stands for Contract—as expressed in the wsdl:​portType,​ wsdl:​message and wsdl:type sections and describes types, messages, message exchange patterns and operations. 
 + 
 +"​ABC"​ means that writing (and configuring) a WCF service is always a three-step process: 
 + 
 +  * You define a contract and implement it on a service 
 +  * You choose or define a service binding that selects a transport along with quality of service, security and other options 
 +  * You deploy an endpoint for the contract by binding it (using the binding definition, hence the name) to a network address. 
 + 
 +==== Tutorial on Address in ABC ====
 ||| |||
 +== Creation of various endpoints in configuration ==
 +
 +Endpoints provide clients with access to the functionality a Windows Communication Foundation (WCF) service offers. You can define one or more endpoints for a service by using a combination of relative and absolute endpoint addresses, or if you do not define any service endpoints, the runtime provides some by default for you. This topic shows how to add endpoints using a configuration file that contain both relative and absolute addresses.
 +
  
   * Take the calculator Web service (with and add and sub between two value) ​   * Take the calculator Web service (with and add and sub between two value) ​
cours/app_rep_orientees_service_2016_2017/lab_address.1556058326.txt.gz · Dernière modification: 2019/04/24 00:25 par tigli