Friday, March 27, 2009

WCF CustomBinding Equivalent to WSHttpBinding


It is sometimes useful to build a WCF CustomBinding equivalent to some other binding. This allows a richer set of customizations. Here is the CustomBinding equivalent to the WSHttpBinding defaults (windows authentication):

Update: Convert bindings automatically using the WCF BindingBox.

   <binding name="MyBinding">
     <textMessageEncoding />
     <security authenticationMode="SecureConversation">
       <secureConversationBootstrap authenticationMode="SspiNegotiated" />
     <httpTransport />


What's next? get this blog rss updates or register for mail updates!


C said...

You just saved me a world of hurt with one snippet; thank you!

Yaron Naveh said...

Sure, you might also want to check this: