webservices和类库之间有什么区别(比如windows窗体中的程序集) [英] What is the difference between webservices and Class Library(like assemblies in windows Form)

查看:64
本文介绍了webservices和类库之间有什么区别(比如windows窗体中的程序集)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以告诉我这两个之间的差异吗?b&b如何使用天气,分数等实时网络服务。



先谢谢你。

解决方案

无法真正比​​较Web服务和程序集。



Assemblies .Net编译代码 - http://msdn.microsoft.com/ en-us / library / hk5f40ct%28v = vs.90%29.aspx [ ^ ]。



Web服务是让您的应用程序可互操作的方法消费者可以获得 - http://www.w3schools.com/webservices/ws_intro.asp [ ^ ]。


Refer - WCF/WF - Web Services与类库 [ ^ ]。

Quote:

Web服务

Web服务是一组协议和用于在应用程序或系统之间交换数据的标准。以各种编程语言编写并在各种平台上运行的软件应用程序可以使用Web服务以类似于在单个计算机上的进程间通信的方式通过诸如因特网的计算机网络交换数据。这种互操作性(例如,Java和Python之间,或Windows和Linux应用程序之间)是由于使用开放标准

更多细节:

http://en.wikipedia.org/wiki/Web_service

http://www.w3schools.com/webservices/default.asp

班级图书馆

一组可重用的对象,可以在框架的上下文中使用,但也可以用作独立的对象。

在.NET术语中

.NET Framework类库是.NET Framework SDK中包含的类,接口和值类型的库。该库提供对系统功能的访问,旨在成为构建.NET Framework应用程序,组件和控件的基础。

更多详细信息 http://msdn2.microsoft.com/en-us/library/ms229335.aspx


Can any one plz tell me difference between those two
and how to consume live web services like weather,Scores etc ..

Thank you in Advance.

解决方案

Web services and assemblies cannot really be compared together.

Assemblies are .Net compiled code - http://msdn.microsoft.com/en-us/library/hk5f40ct%28v=vs.90%29.aspx[^].

Web Services are means to make your application interoperable and accessible to consumer. -http://www.w3schools.com/webservices/ws_intro.asp[^].


Refer - WCF/WF - Web Services Vs Class Libraries[^].

Quote:

Web Service
A web service is a collection of protocols and standards used for exchanging data between applications or systems. Software applications written in various programming languages and running on various platforms can use web services to exchange data over computer networks like the Internet in a manner similar to inter-process communication on a single computer. This interoperability (e.g., between Java and Python, or Windows and Linux applications) is due to the use of open standards
More details:
http://en.wikipedia.org/wiki/Web_service
http://www.w3schools.com/webservices/default.asp
Class Library
A set of reusable objects which may be used within the context of a framework but may also be used as stand-alone objects.
In .NET terms
The .NET Framework class library is a library of classes, interfaces, and value types that are included in the .NET Framework SDK. This library provides access to system functionality and is designed to be the foundation on which .NET Framework applications, components, and controls are built.
More details http://msdn2.microsoft.com/en-us/library/ms229335.aspx


这篇关于webservices和类库之间有什么区别(比如windows窗体中的程序集)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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