Revision: 55731
Updated Code
at February 20, 2012 09:40 by Neven
Updated Code
<system.serviceModel> <!-- some other settings --> <behaviors> <serviceBehaviors> <behavior name="Metadata"> <serviceMetadata httpGetEnabled="true" /> </behavior> </serviceBehaviors> </behaviors> <!-- some other settings --> <services> <service behaviorConfiguration="Metadata" name="Library.Service"> <endpoint address="duplex" binding="wsDualHttpBinding" contract="Library.IService" /> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/> </service> </system.serviceModel>
Revision: 55730
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 20, 2012 09:38 by Neven
Initial Code
<system.serviceModel> <!-- some other settings --> <behaviors> <serviceBehaviors> <behavior name="Metadata"> <serviceMetadata httpGetEnabled="true" /> </behavior> </serviceBehaviors> </behaviors> <!-- some other settings --> <services> <service behaviorConfiguration="Metadata" name="ChatLibrary.ChatManagerService"> <endpoint address="duplex" binding="wsDualHttpBinding" contract="Library.IService" /> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/> </service> </system.serviceModel>
Initial URL
Initial Description
It is mandatory to implement <behaviors> part of <system.servicemodel> and bind it to a service (using behaviorConfiguration attribut) as well as to add ''mex'' endpoint.
Initial Title
Enable metadata exchage
Initial Tags
Initial Language
C#