WS Binding Samples

The samples in this section demonstrate how to configure a service using the wsHttpBinding binding, with message security, reliable sessions and transactions.

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
    Demonstrates how to configure a service using wsHttpBinding binding.
  • Message Security Windows
    Demonstrates how to configure Windows message security on a service that uses the wsHttpBinding binding.
  • Message Security Anonymous
    Demonstrates how to configure anonymous message security on a service that uses the wsHttpBinding binding.
  • Message Security User Name
    Demonstrates how to configure username message security on a service that uses the wsHttpBinding binding.
  • WS Reliable Session
    Demonstrates 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).

Set Up Instructions

Basic Binding Samples

Net Binding Samples

Message Queuing Integration Binding Samples

Custom Binding Samples

© 2007 Microsoft Corporation. All rights reserved.