If You Need to Support Multiple Transactions Per Session Using Secure Conversation, Use Message Security

- J.D. Meier, Carlos Farre, Jason Taylor, Prashant Bansode, Steve Gregersen, Madhu Sundararajan, Rob Boucher

If your WCF clients need to exchange multiple messages with the WCF service, you can use the Secure Conversation feature for improved performance. Using Secure Conversation means the token negotiation and authentication happens only once for all the requests in a session.

Secure Conversation is enabled with message security on all the standard bindings that support WS-Security (for example, WsHttpBinding, NetTcpBinding and netMsmqBinding).

Here is the configuration example showing the secure conversation turned on.
...
<wsHttpBinding>
  <binding name="NewBinding0">
    <security>
      <message establishSecurityContext="true" />
    </security>
  </binding>
</wsHttpBinding>
...

Additional Resources

Last edited Jun 13, 2008 at 12:22 AM by prashantbansode, version 1

Comments

No comments yet.