多客户端连接到ASP.Net Web服务会发生什么? [英] What happen Multi Client connected to ASP.Net Web Services ?

查看:45
本文介绍了多客户端连接到ASP.Net Web服务会发生什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!


我是初学者了解Asp.Net Webservices。


我不知道,如何使用webservices准时服务多客户连接到网络服务?


例如:我有两个客户:客户端A,客户端B和Web服务C.在Web服务C上,我有一个function(此函数返回一个字符串"我在30秒内设置此函数执行,然后将字符串返回给客户端")。


何时:客户端A调用服务C.但是,在服务C期间排除A("30s"),然后客户B继续按时打电话给服务C.  


它发生了什么?


C为A执行,然后C为B执行?


我不知道网络服务的跟踪器是否已被执行。


帮助我,请


谢谢。


 

解决方案

嗨Samnam,


首先,如果您是新学员并且开始学习最新版本的WCF,请忘记ASP.NET Web服务器f WS。


当不同的客户端调用相同的Web方法时,Web Service将创建单独的应用程序对象以单独提供这些请求。


希望这会有所帮助。


Hi Everyone !

I'm beginer learnt Asp.Net Webservices.

I don't know , How to webservices excuted services when on time multi client connected to webservices ?

Ex:I had two Client: Client A ,Client B and Web Service C. On Web Service C , I had a function (this function return a string "I setup this function excute in 30s then return a string to Client").

When: Client A call to Service C. But, During Service C excuting A ("in 30s"), Client B continue call to Service C on time.  

What happen it?

C excuted for A, then C excuted for B ?

I don't know the tracer of web service excuted.

Help me, pls.

Thanks.

 

解决方案

Hi Samnam,

First of all, please forget ASP.NET web server if you are new learner and start learning WCF which is latest version of WS.

When different client calls the same web method Web Service will create separate application object to serve these requests separately.

Hope this helps.


这篇关于多客户端连接到ASP.Net Web服务会发生什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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