Share via


WS Binding Samples

The samples in this section cover configuring a service using the wsHttpBinding binding, with message security, reliable sessions and transactions.

Note Note:

System-provided bindings do not allow you to send a username token without strong cryptographic protection. When you create and use custom bindings, you must encrypt the token before sending it to avoid possible information disclosure.

In This Section

  • WSHttpBinding
    Shows how to configure a service using wsHttpBinding binding.
  • WS Transport Security
    This sample demonstrates the use of SSL transport security with the wsHttpBinding binding.
  • Message Security Windows
    Shows how to configure Windows message security on a service that uses the wsHttpBinding binding.
  • WS Reliable Session
    Shows how to configure reliable sessions on a service that uses the wsHttpBinding binding.
  • WS Dual Http
    Demonstrates how to configure the wsHttpBinding binding.
  • CardSpace Federation
    Demonstrates how to configure a custom binding to use an CardSpace in a Web service.
  • MTOM Encoding
    Demonstrates the use of the Message Transmission Optimization Mechanism (MTOM) message encoding with a WSHttpBinding.
  • WS Federation HTTP Binding
    Demonstrates how to implement a typical federated service, a basic security token service and a corresponding client using Windows Communication Foundation (WCF).

Setup Instructions

Basic Binding Samples

Net Binding Samples

Message Queuing Integration Binding Samples

Custom Binding Samples

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.