且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

读取XML数据时已超出最大字符串内容长度配额(8192)。通过更改...上的MaxStringContentLength属性可以增加此配额

更新时间:2023-11-14 11:39:40

这是使用WCF服务时的常见问题。我保持这篇文章的方便性来自

***的。有一点需要注意,服务器端和客户端都需要修改设置。
This is a common problem when working with WCF services. I keep this article handy from the
***. One thing to note that there are settings both server side and client side that need to be modified.


在服务器端和客户端提供相同的绑定

否则你会收到错误..
Give same binding on server and on client side
otherwise you will get error..