|
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<client>
<endpoint name="ServerInfoService" address="http://localhost/ChallengeServer/Info" contract="Challenge.Common.IServerInfoService" binding="basicHttpBinding" />
<endpoint name="ExampleService" address="http://localhost/ChallengeServer/Example" contract="Challenge.Common.IExampleService" binding="customBinding" bindingConfiguration="ChallengeMessageEncoding" behaviorConfiguration="ChallengeBehavior">
</endpoint>
</client>
<extensions>
<bindingElementExtensions>
<add name="ClientMessageEncoding" type="Challenge.Client.ClientMessageEncodingElement, Client" />
</bindingElementExtensions>
<behaviorExtensions>
<add name="ChallengeClientMessageInspector" type="Challenge.Client.ClientMessageInspector, Client" />
</behaviorExtensions>
</extensions>
<behaviors>
<endpointBehaviors>
<behavior name="ChallengeBehavior">
<ChallengeClientMessageInspector />
</behavior>
</endpointBehaviors>
</behaviors>
<bindings>
<customBinding>
<binding name="ChallengeMessageEncoding">
<ClientMessageEncoding contentEncryption="All" contentCompression="GZip" />
<httpTransport/>
</binding>
</customBinding>
</bindings>
</system.serviceModel>
</configuration>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.