本文介绍了WCF中的客户端端点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无法理解为什么我们在服务配置中定义客户端终结点. 我了解服务端的端点是什么,但是在< client>下定义了端点.标签是我的问题吗?有人可以对此加以说明吗?在此先感谢</client>
I am unable to understand why we define client endpoints in our service config. I understand what are endpoints on service side but defining endpoints under <client> tag is my question???Can somebody please throw light on this.Thanks in advance</client>
推荐答案在客户端中,您基本上是在描述想要的终结点交谈.然后,代理可以确定您提供的地址是否与期望连接的端点匹配.避免这种情况的一种方法是实现客户端使用的代理. In the client you are basically describing the endpoint you want to talk to. The proxy can then determine if the address you provided matches the endpoint you expect to connect with. A way of avoiding this is to implement a proxy for the client to consume.
更多推荐
WCF中的客户端端点
发布评论