Création et consommation de services wcf
Version 1.1
Jean DALAT James RAVAILLE http://blogs.dotnet-france.com/jamesr 2
Création et consommation de services WCF
Sommaire
1
Introduction ..................................................................................................................................... 3 1.1 1.2 Présentation ............................................................................................................................ 3 Pré-requis ................................................................................................................................ 3
2
Les bases fondamentales de WCF ................................................................................................... 4 2.1 2.2 2.3 Les étapes de mise en œuvre .................................................................................................. 4 Les éléments A B C .................................................................................................................. 4 Espaces de nom du Framework .NET ...................................................................................... 4
3
Création d’un service WCF .............................................................................................................. 5 3.1 Définition du contrat de service .............................................................................................. 5 ServiceContract ............................................................................................................... 5 OperationContract........................................................................................................... 5 DataMember ................................................................................................................... 5
3.1.1 3.1.2 3.1.3 3.2
Mise en