Durable duplex sample

Source: Internet
Author: User

Http://www.cnblogs.com/carysun/archive/2010/05/04/WF4-Service-Duplex.html

Http://www.cnblogs.com/carysun/archive/2010/05/04/WF4-service-duplexmore.html

This two articles is about the beginning guide for durable duplex. The wf4 pattern implement the durable duplex sounds like the way from WCF.

In WCF. the service contract include main method and the call back method can be reference in both side (server and client .). for the sake of lemo-both side know the server contract. and the client can implement the service contract. if we defined it as interface.

In WF. the receive-reply pair of activities in server wocould expose the server contract like WCF. and of course. we need something to correlate the subsequent send activity. this is we called callbackcorrelation. that is means we can call back the client service endpoint. even we dont know the client servcie address. that is the advantage with the durable duplex.

Wait a moment. We can not finish this topic over. Let's think it further. What if we let the server know the call back address when making the first call?

Well. in comparision withCallbackcorrelation,I can not tell which one is better. Actually. This one is much simpler.

Http://www.cnblogs.com/zhuqil/archive/2010/05/10/1732020.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.