Explain WCF Message exchange Pattern

Technology CommunityCategory: WCFExplain WCF Message exchange Pattern
VietMX Staff asked 3 years ago

WCF Message exchange pattern defines the way messages are exchanged between the applications(client, service). they are three ways:

  • Request-Reply (default) – Clients will be blocked until receiving a reply or timeout.
  • One Way – The service model releases the client connection once the message arrives to the channel and before invoking, the operation. Also client will not receive any notification of exception that occurs.
  • Request-CallBack (also called Duplex) – Both the client and the service can initiate communication. You can use this pattern when you want the service to send a notification or alert to the client after the client has called the service.