Skip to content

Instantly share code, notes, and snippets.

Created November 9, 2009 15:30
Show Gist options
  • Save anonymous/230026 to your computer and use it in GitHub Desktop.
Save anonymous/230026 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<client>
<endpoint name="FooBarProxy"
address="net.tcp://service-machine:8092"
binding="netTcpBinding"
contract="FooBar"
bindingConfiguration="message_security"
behaviorConfiguration="certificate_revocation_noCheck">
<identity>
<certificate encodedValue="--generated by svcutil--" />
</identity>
</endpoint>
</client>
<behaviors>
<endpointBehaviors>
<behavior name="certificate_revocation_noCheck">
<clientCredentials>
<serviceCertificate>
<authentication revocationMode="NoCheck"/>
</serviceCertificate>
</clientCredentials>
</behavior>
</endpointBehaviors>
</behaviors>
<bindings>
<netTcpBinding>
<binding name="message_security">
<security mode="TransportWithMessageCredential">
<message clientCredentialType="UserName" />
</security>
</binding>
</netTcpBinding>
</bindings>
</system.serviceModel>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment