为什么我们使用Web服务并在asp.net中使用Web服务给出一个示例程序? [英] Why we use web service and give one sample program using web service in asp.net?

查看:69
本文介绍了为什么我们使用Web服务并在asp.net中使用Web服务给出一个示例程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



谁能给出代码项目的解释?

为什么我们使用Web服务并在asp.net中使用Web服务给出一个示例程序?

Hi,

Can anyone give explanation for code project?

Why we use web service and give one sample program using web service in asp.net?

推荐答案

检查这些

Web服务简介 [为什么使用Web服务? [您的第一个C#Web服务 [
Check these

Introduction to Web Services[^]
Why Web Services?[^]

When you need to implement things with other 3rd parties, you need web service.

Here simple example, you are developing an application(Say Restaurant POINT OF SALE) for a client. And Client now wants to show the details in Kiosk(with options like booking items) & you never worked(just assume) in Kiosk so they are calling another person for that. And probably they need access for your database but you don''t want give the access to your database. Then how? Here you need web service. Create methods(ShowItems, BookItems, etc.,) in web service & give them. So they can implement things easily.

And here a CP article
Your first C# Web Service[^]


检查此博客
ASP.NET Web服务 [
check this blog
ASP.NET Web Service[^]
--NDK


尊敬的Sathiyak,


查看以下链接,这将为您提供有关Web服务的好主意

http://aspalliance.com/979_Working_with_Web_Services_Using_ASPNET.all#Pa[^] [ http://www.w3schools.com/webservices/ws_why.asp [
Dear Sathiyak,


Look the Following links, which will give you good idea on web service

http://aspalliance.com/979_Working_with_Web_Services_Using_ASPNET.all#Pa[^][^]


http://www.w3schools.com/webservices/ws_why.asp[^]

Thanks


这篇关于为什么我们使用Web服务并在asp.net中使用Web服务给出一个示例程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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