C# 在IIS中托管后,无法浏览具有net.tcp绑定的服务
我使用net.tcp绑定在iis中托管了WCF服务,当我浏览时可以看到该服务,但当我在应用程序中浏览该服务时,会出现如下错误 找不到与绑定为NetTcpBinding的终结点的scheme net.tcp匹配的基址。注册的基址方案为[http] 有人能帮我吗C# 在IIS中托管后,无法浏览具有net.tcp绑定的服务,c#,wcf,net.tcp,C#,Wcf,Net.tcp,我使用net.tcp绑定在iis中托管了WCF服务,当我浏览时可以看到该服务,但当我在应用程序中浏览该服务时,会出现如下错误 找不到与绑定为NetTcpBinding的终结点的scheme net.tcp匹配的基址。注册的基址方案为[http] 有人能帮我吗 <service behaviorConfiguration="Servicebehavior" name="WCftestnettcp.Service1"> <endpoint address="" bindin
<service behaviorConfiguration="Servicebehavior" name="WCftestnettcp.Service1">
<endpoint address="" binding="netTcpBinding" bindingConfiguration="NewBinding0" name="tcpbind" contract="WCftestnettcp.IService1" />
<endpoint address="mex" binding="mexTcpBinding" bindingConfiguration="" name="mextcp" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="net.tcp://XXXX-pc:8080/Service1.svc" />
</baseAddresses>
请查看此解决方案-有人能帮我吗???@Chandrasekhar-您是否查看HappyLee发布的链接?它对你不起作用吗?是的,但我已经这样做了,我的问题是当我在我的应用程序中浏览服务时,我得到了错误,其他一切都很好。当你说在你的应用程序中浏览服务时,你是什么意思?