我越来越:
“从另一方收到不安全或不正确安全的故障。有关故障代码和详细信息,请参阅内部故障异常。”
我已经在客户端完成了这项工作,并且在控制台应用程序中也完成了同样的操作,但是出现的错误可能是一些冲突。
我也检查过app.config
。
代码是:
<client>
<endpoint address="net.tcp://localhost:5054/player" binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IPlayerService" contract="PlayerService.IPlayerService" name="NetTcpBinding_IPlayerService">
<identity>
<dns value="pident.cloudapp.net"/>
</identity>
</endpoint>
<endpoint address="net.tcp://localhost:5049/public" binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IPublicService" contract="Public Service.IPublicService" name="NetTcpBinding_IPublicService"/>
<endpoint address="net.tcp://localhost:5051/user" binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IUserService" contract="User Service.IUserService" name="NetTcpBinding_IUserService">
<identity>
<dns value="pident.cloudapp.net"/>
</identity>
</endpoint>
有人有什么主意吗?