[英]Send information from the WCF to JavaScript
To call the WCF
service from JavaScript
, using - AJAX: Calling WCF Services using jQuery 要调用WCF
从服务中JavaScript
,使用- AJAX: 使用jQuery调用WCF服务
My question is: 我的问题是:
Is there a way after one request to keep something related to JavaScript
, 在一个请求之后是否有办法保留与JavaScript
相关的内容,
and then send information from the WCF
without receiving requests from the JS? 然后从WCF
发送信息而不接收来自JS的请求?
(If there is some neat information on the subject, I'd be happy to receive it.) (如果有关于这个主题的一些简洁信息,我很乐意收到它。)
SignalR
is a good way to do it, SignalR
是一个很好的方法,
you can see this in detail in the following question: 您可以在以下问题中详细了解此信息:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.