在大型WCF调用中丢失Silverlight中的对象 [英] Losing objects in Silverlight on large WCF call

查看:79
本文介绍了在大型WCF调用中丢失Silverlight中的对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Silverlight应用程序调用WCF服务来获取数据。  我正在调查一个错误,其中某个特定对象上的某些对象似乎被删除了。  数据库中的数据正确无误。  我可以调试服务器,
在发送之前看到服务器上的对象是正确的。  我在服务器上启用了WCF跟踪,将其调高到最大值,并且看不到任何错误。  但是在Silverlight方面,我获得了大部分,但并非所有的子对象。  没有错误消息
或其他任何内容,只是某些对象似乎消失了。  我不知道接下来要检查什么,所以如果有人有建议,我会很感激。

I have a Silverlight application that calls into a WCF service to get data.  I am currently investigating a bug where certain objects on a given call just seem to be dropped.  The data is correct in the database.  I can debug the server, and see that the objects are correct on the server just before sending.  I turned on WCF tracing on the server, cranked it up to max, and see no errors.  But on the Silverlight side, I get most, but not all of the child objects.  No error messages or anything, just some of the objects appear to disappear.  I am at a loss as to what to check next, so if anyone has a suggestion, I would appreciate it.

谢谢,

Ian

推荐答案

Web.config上的超时怎么样?你必须在那里放一个int.MaxValue。

What about timeout on your Web.config. You must put a int.MaxValue there.

希望它有任何帮助。


这篇关于在大型WCF调用中丢失Silverlight中的对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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