This documentation is archived and is not being maintained.

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.

Message Security Anonymous

Shows how to configure anonymous message security on a service that uses the wsHttpBinding binding.

Message Security Certificate

Shows how to configure certificate message security on a service that uses the wsHttpBinding binding.

Message Security User Name

Shows how to configure username 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 Transaction Flow

Shows how to configure and use transactions.

WS Dual Http

Demonstrates how to configure the wsHttpBinding binding.

Using CardSpace With wsHttpBinding

Demonstrates how to configure a wsHttpBinding to use an CardSpace in a Web service.

CardSpace Federation

Demonstrates how to configure a custom binding to use an CardSpace in a Web service.

WS Transport With Message Credential

Demonstrates the use of SSL transport security in combination with client credential being carried in the message.

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).

Related Sections

Footer image

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

Show: