如何在我的VB.NET应用程序中添加WCF服务的参考? [英] How to add the refrence of WCF services in my VB.NET Application?
本文介绍了如何在我的VB.NET应用程序中添加WCF服务的参考?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在C#.NET中创建了WCF服务,并在托管Windows服务中托管了主机.
我的问题是,该服务托管在不同的不同服务器上,并且我只有一个Windows应用程序,因此我必须使用我的服务.如何添加所有服务器的引用.
还有一个问题是我的主机服务器之间也没有连接.
如何动态添加服务引用?
I created a WCF service in C#.NET and host in managed windows service.
My Problem is that this service is hosted at different different servers and I have a single windows Application in that i have to consume my services. How I add the reference of all servers.
And one another problem is that I do not have a connection between to my host server also.
How I add dynamically service reference?
推荐答案
嗨·赫曼特,
阅读此内容
该示例是控制台应用程序,但是为任何应用程序添加和使用服务引用的方式相同
WCF消费 [
hi Hemant,
read this
this example is console application but same way to add and consuming service reference for any application
WCF Consuming[^]
这篇关于如何在我的VB.NET应用程序中添加WCF服务的参考?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文