开发者

Passing Data from Silverlight to ASP.NET Page

I want to pass large amount of information from my silverlight application to an aspx page. What is the preferred or best method to do this?

I can think of the folllo开发者_高级运维wing:

Put it in a temporary table and have the aspx page pick it up from there. Or Pass it in session.

Any help is appreciated

Micky


I would say, both of your proposals do not work. The Silverlight application runs in the client (browser), how would you store it in session?

I would suggest that you define a service in your web application hosting the Silverlight application and path the data as a parameter. Or you can use HTML file upload to transfer the data.

Edit: Store large amounts of data in Session is generally not a good idea, depending on the number of users expected on your site (think of DOS attacks as well). If you need to store the data in a database anyway, I would do that from the beginning. I need more information about the use case to give a definite answer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜