区分“添加引用”和“添加Web引用”与“添加服务引用”的功能 [英] Distinguish the functionalities of Add Reference vs Add Web Reference vs Add Service Reference

查看:126
本文介绍了区分“添加引用”和“添加Web引用”与“添加服务引用”的功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在visual studio中区分添加引用与添加Web引用与添加服务引用的功能。

Distinguish the functionality of Add Reference vs Add Web Reference vs Add Service Reference in visual studio.

推荐答案





添加引用将预编译的代码集添加到您的应用程序中,然后您可以使用可用的方法



添加Web引用是wsdl.exe的包装器,可用于为.NET 1.1或2.0客户端创建代理。当然这意味着当你指向一个WCF服务时,你必须指向一个使用basicHttpBinding的端点



添加服务参考是svcutil.exe上的包装器,还可以创建客户端代理(以及另外的web.config条目)。但是,这些代理只能由.NET 3.0+客户端使用。



希望这对您有所帮助。



问候,

RK
Hi,

Add reference Add precompiled set of codes to your application,then you can use available methods

Add Web Reference is a wrapper over wsdl.exe and can be used to create proxies for .NET 1.1 or 2.0 clients. Of course this means when you are pointing to a WCF service you have to be pointing to an endpoint that uses basicHttpBinding

Add Service Reference is a wrapper over svcutil.exe and also creates clients proxies (and additionally web.config entries). These proxies, however, can only be consumed by .NET 3.0+ clients.

Hope this helps you a bit.

Regards,
RK


我们不做你的功课:这是有原因的。它就是为了让你思考你被告知的事情,并试着理解它。它也在那里,以便您的导师可以识别您身体虚弱的区域,并将更多的注意力集中在补救措施上。



一个非常简单的谷歌(或三个)将给予你答案很快。
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

A pretty simple google (or three) will give you the answer pretty quickly.


这篇关于区分“添加引用”和“添加Web引用”与“添加服务引用”的功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆