如何在Bigrock Windows Hosting上托管WCF [英] How to host WCF on Bigrock Windows Hosting

查看:61
本文介绍了如何在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>

推荐答案

我有解决方案但现在有一个问题,它显示我找不到端点
I Got the solution but now there is the issue it shows me "Endpoint Not Found"


这篇关于如何在Bigrock Windows Hosting上托管WCF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆