The starting point of this article:
By reading this article, you can learn the following:
What is the binding in WCF?
The composition of the binding?
Classification of Binding Element?
Binding describe the level of information?
Choose the right binding
This article is suitable for readers:
This article is suitable for WCF beginners
What is the binding in WCF?
Before we figure out what Binding is, let's look at the endpoint structure in WCF, a endpoint similar to an ASMX file in an XML Web service that includes three components 1 address 2 Binding 3) Contract, which are called the "ABC" of the constituent endpoint, the following figure illustrates the composition of the endpoint structure:
ABC solves the following problems of endpoint, respectively:
A solves the problem of where endpoint is, that is, "where is the endpoint?"
B solves the problem of how to communicate with endpoint, that is, "how to communicate with endpoint?"
C solves the problem of what function endpoint provides, namely "What functionalities do the endpoint provide?"
The above two articles WCF from theory to practice three: the black contract of Pawn No. Eighth and WCF from theory to practice four: The road where the contract and address are expounded, this article focuses on binding, binding implementation of the client and server to communicate the bottom of the details, Including how the data is transmitted (such as using tcp,http, etc.), how to solve the security problem (Ssl,message level, etc.), the format of the transmitted message (such as text/xml,mtom,binary, etc.).