1 / 7

Windows Communication Foundation

Windows Communication Foundation. David Anderson Independent Software Developer DCOM Productions. What is WCF?. Service-oriented communication Interoperable Metadata allows you to consume the service in code (C#/VB) Bindings and Endpoints

varick
Download Presentation

Windows Communication Foundation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Windows Communication Foundation David Anderson Independent Software DeveloperDCOM Productions

  2. What is WCF? • Service-oriented communication • Interoperable • Metadata allows you to consume the service in code (C#/VB) • Bindings and Endpoints • Service Contracts, Operation Contracts, Data Members • Configuration • WCF Whitepaper on MSDN

  3. WCF Bindings • A binding describes the transport, protocol, and encoding • BasicHttpBinding • A binding that is suitable for communicating with WS-Basic Profile conformant Web services, for example, ASP.NET Web services (ASMX)-based services. This binding uses HTTP as the transport and text/XML as the default message encoding. • WSHttpBinding • WS2007HttpBinding • NetTcpBinding • NetNamedPipeBinding • WebHttpBinding

  4. WCF Endpoints • Provides clients access to your WCF Service functionality • Is a connectivity point • Address, Binding, Contract

  5. WCF Contracts • Defines your actual WCF Service implementation • Methods, Composite Types, Return Values

  6. Routing ServicesThe example for this presentation • WCF Service • Serves named connection strings • Own authentication to avoid X509 Certificates • Unit Testing

  7. Consuming Routing ServicesThe example for this presentation • WCF Client • Referencing the service • Using the service • Unit Testing • Dependencies, and removing them

More Related