How to change default binding in wcf 4.0

In this post I will share a very handy tips for wcf 4.0.As we all know that default binding is a new feature introduced in wcf 4.0.With WCF 4, this is no longer the case because the runtime automatically adds one or more "default endpoints" for you, thereby making the service usable without any configuration.
<protocolMapping>
      <add binding="wsHttpBinding" scheme="http"/>
    </protocolMapping>

No comments:

Post a Comment