1.Message
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.
WCF Have following message pattern
- Simplex (anyway)
- Duplex
- Request - Reply
2.Endpoint 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.
3.Address
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
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
Description
In WCF, all services expose contracts. The contract is a platform neutral and strandard way of describing what the service does.
6.Hosting
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.
Hosting Options Supported by WCF:
- Managed Hosting in Windows Services
- Hosting with IIS (Internet Information Service)
- Windows process Activation Service Hosting (WAS)
7.Metadata
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
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.
9.SOAP
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
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