Advertisement
dennisdegryse

Enable Help for Duplex WCF Service

Apr 14th, 2011
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.62 KB | None | 0 0
  1. <services>
  2.   <service behaviorConfiguration="ServiceBehavior" name="...">
  3.     <endpoint
  4.      address="" binding="wsDualHttpBinding"
  5.      behaviorConfiguration="DualHttpEndpointBehavior"
  6.      contract="..." />
  7.     <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
  8.   </service>
  9. </services>
  10.  
  11. <behaviors>
  12.   <serviceBehaviors>
  13.     <behavior name="ServiceBehavior">
  14.       <!-- ... -->
  15.     </behavior>
  16.   </serviceBehaviors>
  17.  
  18.   <endpointBehaviors>
  19.     <behavior name="DualHttpEndpointBehavior">
  20.       <webHttp helpEnabled="true"/>
  21.     </behavior>
  22.   </endpointBehaviors>
  23. </behaviors>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement