How to add End Point For Wcf Services in Web Config File
<system.serviceModel>
<services>
<service name="ServiceName" behaviorConfiguration="ConfigurationBehaviorName" >
<endpoint address="PathofService" behaviorConfiguration="EndPointBehaviourName" contract="ServiceInterfaceName"
binding="webHttpBinding"/>
</service>
</services>
<behaviors>
<endpointBehaviors>
<behavior name="EndPointBehaviourName">
<webHttp/>
</behavior>
</endpointBehaviors>
<serviceBehaviors>
<behavior name="ConfigurationBehaviorName">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
No comments:
Post a Comment
Thank you for your interest .