Yogesh Wani

Yogesh Wani

  • NA
  • 197
  • 25.7k

How to Host WCF on Bigrock Windows Hosting

Apr 14 2015 1:23 PM
Please help me in hosting my WCF Service on Bigrock Windows Hosting
my Web.Config file details are as follows
<services>
<service name="IService" behaviorConfiguration="ServiceBehaviour">
<host>
<baseAddresses>
<add baseAddress="http://www.mywebsitename.com/"/>
</baseAddresses>
</host>
<endpoint address="" binding ="wsHttpBinding" contract="MyService.Iservice" behaviorConfiguration="web">
</endpoint>
<endpoint address="/Validate_XmlData" binding ="wsHttpBinding" contract="MyService.Iservice" behaviorConfiguration="web">
</endpoint>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="ServiceBehaviour">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="web">
<webHttp/>
</behavior>
</endpointBehaviors>
</behaviors>
</system.serviceModel>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
</system.webServer>
 

Answers (1)