本文介绍了如何在Bigrock Windows Hosting上托管WCF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在Bigrock Windows主机上托管WCF
我的Web.config文件详细信息如下
How to Host WCF on Bigrock Windows Hosting
My Web.config file details are as below
<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>
推荐答案
这篇关于如何在Bigrock Windows Hosting上托管WCF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!