Chapter 3. Bindings
So far in this book, you have learned how to create and consume services; how to design
and implement service contracts; how to host services and configure service endpoints; and
learned various ways to generate proxies for clients to invoke service operations. In the
process, you have worked with a few of the standard bindings such as NetTcpBinding
and BasicHttpBinding
to
establish communication channels between clients and services. Although Iâve shown you how to
select a binding for a service endpoint, and Iâve discussed how bindings determine the
protocols used to communicate, I havenât begun to show you scope of what bindings can do. In
this chapter, Iâll focus on bindings, explaining how to choose from the different standard
bindings, how to customize them to meet your deployment needs, and how to create custom
bindings to address special situations where the standard bindings donât satisfy your
requirements. In the process, youâll learn how to work with web service bindings and
connection-oriented bindings, how to implement two-way communication scenarios, and how to
handle large messages.
Get Learning WCF 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.