The topics in this section demonstrate how to define Windows Communication Foundation (WCF) bindings for services and clients imperatively in code and declaratively using configuration. These procedures use system-provided bindings.
To see how to use the CustomBinding class to customize a system-provided binding, see How to: Customize a System-Provided Binding.
In This Section
- How to: Specify a Service Binding in Configuration
Describes how to define a WCF service binding declaratively in configuration.
- How to: Specify a Service Binding in Code
Describes how to define a WCF service binding imperatively in code.
- How to: Specify a Client Binding in Configuration
Describes how to configure a WCF client binding.
- How to: Specify a Client Binding in Code
Describes how to define a WCF client binding declaratively in configuration.
Reference
CustomBinding
Related Sections
Configuring System-Provided Bindings
See Also
Concepts
Windows Communication Foundation Endpoints: Addresses, Bindings, and Contracts
© 2007 Microsoft Corporation. All rights reserved.
Build Date: 2009-08-07