I am having a problem with my WCF data service. One of the tables contains too much data to return (about 80 fields), so that the size limit is exceeded by only one record (more than 60 thousand. According to the estimate, I canโt say for sure, because the message cannot be seen as a result of interruption of message output) .
So far, I have found that it can be circumvented in two ways.
- To increase the message size limit.
- To change the data transfer format to Json.
There are some problems to overcome for both solutions.
There are many articles on the Internet explaining how to configure the WCF service to resize the buffer or quota of the reader. But I donโt know how the WCF data service works, as the white papers do not show how to configure the WCF data service declaratively. Does the WCF data service support the same configuration metaphors? And how to achieve it?
The WCF data service client library does not seem to support the json format out of the box. I have to implement the same functions myself. My question here is that does any odata parser exist in C #?
source
share