Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想测试 wcf 端点是否可达。唯一可用的数据是服务的 URI 地址。
我可以在不创建服务的客户端代理的情况下连接到服务以检查它是否存在吗?
编辑:我想以编程方式实现这一点,即制作这样的方法:
bool EndpointReachable(UriAddress)
我的服务可能使用 net tcp 绑定进行绑定
http://geekswithblogs.net/LeonidGaneline/archive/2008/05/07/wcf-availability-of-the-wcf-services.aspx