Skip to content

Instantly share code, notes, and snippets.

@JoanComasFdz
Created December 28, 2011 08:48
Show Gist options
  • Save JoanComasFdz/1527150 to your computer and use it in GitHub Desktop.
Save JoanComasFdz/1527150 to your computer and use it in GitHub Desktop.
Basic service endpoints declaration for services using wsDualHttpBinding
<services>
<service name="<YOUR_SERVICE_NAMESPACE.<YOUR_SERVICE_NAME">
<!--
Dual http binding
-->
<endpoint address=""
binding="wsDualHttpBinding" bindingConfiguration="WSDualHttpBinding_<YOUR_SERVICE_INTERFACE>"
contract="<YOUR_SERVICE_NAMESPACE.<YOUR_SERVICE_INTERFACE>">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<!--
Dual http binding helper
-->
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
</services>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment