Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

Browse by Tags · View All
.NET 11
ASP.Net 11
#ASP.Net 11
WCF 11
#DOTNET 11

Archive · View All
September 2011 4
October 2011 3
November 2011 2
February 2012 1
December 2011 1
January 2012 1
August 2011 1

Ganesh Divekar's Blog

WCF # 10 – WCF channel shapes and communication patterns (Message exchange patterns)

Nov 25 2011 6:52PM by Ganesh Divekar   

Hi Geek,

In our last post Channels , we see how messages are exchange in WCF using channels ,

In this post we will see the types of message exchange patterns in WCF .

WCF supports three distinct message-exchange patterns:

1) One Way

2) Duplex

3) Request Reply

1) One Way Communication Pattern

image

a) In the one-way communication pattern, messages are sent in only one direction, from the client to the server.

b) One-way communication is common when the sender does not need an informational response back right away;the sender just needs an acknowledgement that the message was sent.

c) After the message is sent, that is the end of the communication exchange

2) Duplex communication pattern

image

a) Duplex communication uses two one-way channel shapes combined into a third interface called IDuplexChannel.

b) The advantage of duplex communication over one-way or request-reply is that messages can be sent from either the client or the server.

c) Example

An example of duplex communication is an event notification system. A server will send events to a client that receives events. The client provides an endpoint on which the server can send messages to the client. The server will then use this endpoint to send messages to the client

3) Request Reply communication pattern

image

a) Request-reply communication is a special form of two-way communication where there is exactly one reply for each request, and it is always initiated by the client.

b) After the client sends a request, it must wait for a response before it can send another request.

c) Example  A common use of request-reply communication is an HTTP request from a browser

The browser makes an HTTP request to the server, such as GET or POST, the server processes that request, and then a reply is sent back.WCF handles request-reply communication using the IRequestChannel and IReplyChannel.

In coming posts we will go in depth with each message exchange pattern.

Thanks.

Tags: #DOTNET, #ASP.Net, ASP.Net, .NET,


Ganesh Divekar
159 · 1% · 298
0
Liked
 
0
Lifesaver
 
0
Refreshed
 
0
Learned
 
0
Incorrect



Submit

Your Comment


Sign Up or Login to post a comment.

    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]