承载在IIS中且具有netTCP绑定的WCF服务

承载在IIS中且具有netTCP绑定的WCF服务,wcf,wcf-binding,wcf-client,Wcf,Wcf Binding,Wcf Client,我有一个WCF服务托管在IIS7中,启用了netTCP 这是我在%apppath%\中的web.config,SVC文件在其中 <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.serviceModel> <services> <service name="Search.Querier.WCF.Querier" behaviorConfigu

我有一个WCF服务托管在IIS7中,启用了netTCP

这是我在%apppath%\中的web.config,SVC文件在其中

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <system.serviceModel>
    <services>
      <service name="Search.Querier.WCF.Querier" behaviorConfiguration="SearcherServiceBehavior">
        <host>
          <baseAddresses>
            <add baseAddress="http://localhost:8050/SearcherService"/>
          </baseAddresses>
        </host>
        <endpoint address="net.tcp://localhost:9000/SearcherService"
                  binding="netTcpBinding"
                  bindingConfiguration="Binding1"
                  contract="Search.Querier.WCF.IQuerier" />
      </service>
    </services>
    <bindings>
      <netTcpBinding>
        <binding name="Binding1"
                     hostNameComparisonMode="StrongWildcard"
                     sendTimeout="00:10:00"
                     maxReceivedMessageSize="65536"
                     transferMode="Buffered"
                     portSharingEnabled="false">
          <security mode="None">
            <transport clientCredentialType="None" />
            <message clientCredentialType="None" />
          </security>
        </binding>
      </netTcpBinding>
    </bindings>
    <behaviors>
      <serviceBehaviors>
        <behavior name="SearcherServiceBehavior">
          <serviceMetadata httpGetEnabled="true" httpGetUrl=""/>
          <serviceDebug includeExceptionDetailInFaults="true"  />
        </behavior>
      </serviceBehaviors>
    </behaviors>
  </system.serviceModel>
  <system.web>
    <compilation debug="true" />
  </system.web>
</configuration>
但我在web.config中没有指定其他地方


还有其他地方吗?

如果缺少MEX端点,请查看以下链接:

Metadata contains a reference that cannot be resolved: 'http://process.mycomp.com/SearcherService/SearcherService.svc?wsdl'