在ASP.Net中自动从服务器向客户端发送数据 [英] sending data from server to the client automatically in ASP.Net

查看:123
本文介绍了在ASP.Net中自动从服务器向客户端发送数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好b $ b

我正在开发一个Web应用程序。在将网页发送到客户端后,我只想将更改的数据发送到客户端。我希望服务器自动将更改发送到客户端。这与呼叫回调机制形成对比,其中客户端要求从服务器获取更改。请帮我解决问题。



谢谢

Hi
I am developing a web application. After sending the webpage to the client-side, I want to only send the changing data to the client. I want that the server automatically sends the changes to the client. This is in contrast to call callback mechanism, in which client asks for getting the changes from the server. Please help me to solve the problem.

Thank you

推荐答案

OP写道:

将网页发送到客户端后



否,你不能将网页发送到客户端




No, you cannot send a webpage to the clientside

OP写道:

我只想将更改的数据发送到客户端。我希望服务器自动将更改发送到客户端

I want to only send the changing data to the client. I want that the server automatically sends the changes to the client



使用触发器 [ ^ ]


可以使用SignalIR http://www.asp.net/signalr 完成[ ^ ]
This can be done using SignalIR http://www.asp.net/signalr[^]


这篇关于在ASP.Net中自动从服务器向客户端发送数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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