从Slverlight pssing列表到WCF时出现问题 [英] Problem when pssing list from Slverlight to WCF

查看:102
本文介绍了从Slverlight pssing列表到WCF时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经实现了一个Slverlight应用程序,我想将一个列表从silverlight传递到WCF服务方法以插入数据库中,但是当列表包含超过71个项目时,我遇到了问题.

可能是因为我使用的是缓冲区大小:maxbuffersize = 2147483647.(这可以增加吗?)

您能提出解决此问题的任何方法吗?

谢谢

Hi,

I have implemented a Slverlight application and I want to pass a list from silverlight to WCF service method to insert in database but I am facing problem when list is having more than 71 items.

Probably, it''s because of buffer size I am using: maxbuffersize=2147483647.(can this be increased?)

Can you please suggest any way to solve this problem?

Thanks

推荐答案

Nidhi,

您可以在配置文件中增加缓冲区大小并检查输出.
出于好奇,您的对象拥有多少数据?您也可以通过分页内容来使用虚拟化.
Hi Nid

You can increase the buffer size in the config file and check the output.
Just for curiosity, how much data does your object hold? You can use virtualization by paging the contents too.


是的.确实可以增加此缓冲区的大小.请参见此处 [
Yes. This buffer size can indeed be increased. See here[^].


这篇关于从Slverlight pssing列表到WCF时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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