When client and service communicate, there are several aspects of the communication:
- Synchronous/asynchronous: Messages can be used in a request/reply pattern or they can be used in asynchronous communication depending on whether the client waits for the response or not.
- Transport protocol: The protocol used for transporting the messages can vary depending on the needs. Protocols such as HTTP, Transmission Control Protocol (TCP), Microsoft Message Queuing (MSMQ), and Inter-process communication (IPC) can be used.
- Encoding: You have the choice on how to encode the messages. You can choose either not to use or use plain text when you want more interoperability. Alternatives are binary encoding to speed up performance or using Message Transport ...