Windows Communication Foundation - SPLessons
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

WCF Overview

WCF Overview

Basic Concepts of WCF

1.Message

shape Description

A message is a self-contain unit of data that may consist of several parts include Header, Body, Error...etc. Messages are always sent between endpoints. WCF Supports several message pattern that are transported from client to service and server.
2.Endpoint

shape Description

An endpoint is a combination of Address, Binding, and Contract (ABC's).In general, Endpoint is used to communicate from service to client and client to service.A WCF Service contains one or more endpoints. An endpoint is a construct at which message are to be sent or received and provides clients to access the functionality that WCF service  will offer.All type of communication with services will take place through end points only.A WCF Service should contain minimum one endpoint.

shape Conceptual figure

Outside View of Endpoint:
  3.Address

shape Description

The address represents where to communicate and is used to locate where the service is available.In general a "URI" i.e. Uniform Resource Identifier which specifies where message sends and received. In general, each endpoint can have one or more addresses and each address can have a unique identification.
4.Binding

shape Description

Binding specifies how to communicate with endpoint i.e. represents how to send and receive the messages. Binding also specifies what type of protocol is used and which type of security requirement as well as reliability.
5.Contract

shape Description

In WCF, all services expose contracts. The contract is a platform neutral and strandard way of describing what the service does.
6.Hosting

shape Description

Hosting a service means, making the service run. So that service can take requests from the client and process those requests and deliver the response to the client.
7.Metadata

shape Description

This is an important concept of WCF, as it facilitates easy fundamental interaction between a client application and a WCF Service. Normally, metadata for a WCF service is generated automatically when enabled, and this is done by examining of service and its endpoints.

8.Channel

shape Description

The main goal of Channel is to transform the message to the format understandable by the communication wire and compatible to both server and client and then transport the message over the wire in between client and server.

shape Conceptual figure

Overflow off Channel:
9.SOAP

shape Description

SOAP Stands for "Simple Object Access Protocol " which is not a transport protocol, alternatively it is an XML Document wrapping of a header and body section.

Features of Windows Communication Foundation

shape Features

  • Supports for simplified configuration
  • Supports for standard endpoints
  • Supports for discovery
  • Supports for simplified IIS hosting
  • Enhanced support for REST
  • Supports for routing service
  • Supports for workflow services