2. Contracts
IN THE WORLD OF atoms and money, a contract is a binding agreement between two or more parties that specifies the supply of goods or services for a known price. In the world of bits and services, a contract has a similar function: It’s an agreement between two or more parties that specifies the messages that can be exchanged and the terms and conditions of those messages.
A contract is a description of the messages that are passed to and from service endpoints. Each endpoint is defined by the ABCs: an addressable location on the network where messages are sent, a binding that describes how messages are sent, and a contract that describes the message formats.
Remember that a service is really a collection of endpoints, and the endpoints ...
Get Essential Windows Communication Foundation: For .NET Framework 3.5 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.