请简要说明webservice [英] please briefly explain webservice

查看:108
本文介绍了请简要说明webservice的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它在asp.net或其他领域的工作原理如何解释..

解决方案





检查这些链接是否启动



您的第一个C#Web服务 [ ^ ]

ASP .NET Web服务基础知识 [ ^ ]

如何:使用Visual C#.NET编写简单的Web服务 [ ^ ]

.Net中的所有关于Web服务 [< a href =http://dotnetguts.blogspot.in/2007/09/all-about-web-service-in-net.htmltarget =_ blanktitle =New Window> ^ ]

C#.Net如何:创建Web服务 [ ^ ]



希望它有所帮助。






如果你有一个共同的功能要在你的网络应用程序的不同地方实现,为了避免写相同的代码一次又一次,你选择了一个web服务。

它非常有用和吸引人,为你的代码提供抽象和灵巧。



A WebService允许网站与其他网站进行交互,无论网站编写的编程语言如何,也与硬件无关和操作系统关注的机器。



这里可能出现的一个问题是:为什么现在使用WebService?之前的情况是什么?人们是否能够将一个应用程序的功能用于另一个应用程序?



答案是肯定的,人们能够这样做。有一些技术,如COM(组件)对象模型),DCOM(分布式组件对象模型)有助于实现这种杠杆作用,但它们也有其局限性。事实上,他们必须在每个用户的机器上明确注册,从而为注册表故障和内容提供机会。





你可以有一个普通的web服务(.asmx)或一个WCF服务(.svc)。

两者都有它们的优点和缺点,但是现在WCF服务因它们的进步和多用途而非常受欢迎。 />


Google,你会发现有关WebServices的各种链接和演示。

Happy Coding。



问候

Anurag


本文将为您提供开始时所需的所有理论和实践内容:了解ASP.NET中Web服务的基础知识 [ ^ ]

How its working in asp.net or other domain explain with demo..

解决方案

Hi,

check these links for start up

Your first C# Web Service[^]
ASP.NET Web Service Basics[^]
HOW TO: Write a Simple Web Service by Using Visual C# .NET[^]
All About Web Service in .Net[^]
C#.Net How To: Create a Web Service[^]

hope it helps.


Hi,

If you have a common functionality to be implemented at various places in your web app, in order to refrain from writing the same code again and again, you opt for a webservice.
Its quite helpful and appealing, provides abstraction and dexterity to your code.

A WebService allows a website to interact with other websites irrespective of the programming language the websites’ been written in and also irrespective of the hardware & OS concerns of the machines.

One question that may arise over here is: Why WebService now? What was the case earlier? Were people able to leverage the functionalities of one application to another application?

The answer is yes, people were able to do so.There were technologies such as COM (Component Object Model), DCOM (Distributed Component Object Model) which were helpful in achieving this leverage, but they had their limitations as well. In fact they had to be explicitly registered on each user''s machine, thus giving chances for registry glitches and stuffs.


You can have a normal webservice(.asmx) or a WCF service(.svc).
Both have their pros and cons, but nowadays WCF services are quite popular due to their advancements and multi use.

Google and you will find various links and demos about WebServices.
Happy Coding.

Regards
Anurag


This article will give you all the theoretical and practical stuff you need to start with: Understanding the Basics of Web Service in ASP.NET[^]


这篇关于请简要说明webservice的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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