WCF System-Provided Bindings简介

来源:互联网 发布:留学低龄化数据图 编辑:程序博客网 时间:2024/05/16 07:43
Configuring System-Provided Bindings

Bindings specify the communication mechanism to use when talking toan endpoint and indicate how to connect to an endpoint. Bindingsconsist of elements that define how the Windows CommunicationFoundation (WCF) channels are layered up to provide the requiredcommunication features. A binding contains three types of elements:

  • Protocol channel binding elements, which determine the security,reliability, context flow settings, or user-defined protocols to usewith messages that are sent to the endpoint.
  • Transport channel binding elements, which determine the underlyingtransport protocol to use when sending messages to the endpoint, forexample, TCP or HTTP.
  • Message encoding binding elements, which determine the wire encoding touse for messages that are sent to the endpoint, for example, text/XML,binary, or Message Transmission Optimization Mechanism (MTOM).

This topic presents all of the system-provided Windows CommunicationFoundation (WCF) bindings. If none of these meets the exactrequirements for your application, you can create a binding using the CustomBinding class. For more information about creating custom bindings, see Custom Bindings.

 

http://51uu.5d6d.com/thread-100-1-1.html

原创粉丝点击