如何在silverlight和asp.net之间进行通信 [英] how to communicate between silverlight and asp.net
问题描述
大家好
我是silverlight和wcf的新手.我在Asp.net Web应用程序中托管了Silverlight应用程序,所以我的问题是如何在Silverlight应用程序和aspx页面之间进行通信?!
因此,例如,如果我在aspx页面上有一个文本框和一个按钮,并且在我的silverlight应用程序上有一个文本框,我想在aspx页面文本框中输入一些文本,并在buttonClick事件上让文本出现在silverlight文本框??
请大家用代码解释我如何通过wcf服务实现这种通信?
thanxx
hello guys
I''m new to silverlight and wcf .. I have a silverlight application hosted in an Asp.net web application so my question is how can i communicate between my silverlight application and the aspx page ?!
so for example if i have a textbox and a button on my aspx page , and i have a textbox on my silverlight application, i want to put some text in the aspx page textbox and on the buttonClick event i want the text to appear in the silverlight textbox ??
please guys explain me with the code how can i implement such communication through wcf service ??
thanxx
推荐答案
简单的 ^ ]给出了:
MSDN博客:Silverlight与ASP之间的通信.NET [ ^ ]
类似的讨论 [将值从ASP.NET传递到Silverlight控件 [
A simple Google Search[^] of your question title gave:
MSDN Blog: Communicating Between Silverlight and ASP.NET[^]
Similar discussion[^]
Pass Values from ASP.NET to Silverlight Control[^]
Try!
这篇关于如何在silverlight和asp.net之间进行通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!