我有以下设置
<services>
<service name="HelloWCFServiceClass.clsHelloWCFServiceClass" >
<host>
<baseAddresses>
<add baseAddress="http://localhost:6789/IISHosting/HelloWorldISSHostedService.svc"/>
</baseAddresses>
</host>
<endpoint address="" binding="wsHttpBinding" contract="HelloWCFServiceContract.IHelloWCFServiceContract" />
<endpoint address="/test" binding="basicHttpBinding"
contract="HelloWCFServiceContract.IHelloWCFServiceContract"/>
</service>
</services>
我可以打开
http://{ServerName}:6789/HelloWorldISSHostedService.svc
但我收到一个错误
找不到网页
在尝试通过这样的端点访问时
http://{ServerName}:6789/HelloWorldISSHostedService.svc/test