How can I receive data with WCF nettcpbinding when my database result is very great?

103 Views Asked by At

does exist any way to receive data in multy step or other protocol that i use it that support the data greater than Int.MaxValue because nettcpBinding only support data less than Int.MaxValue with this attribute:

maxReceivedMessageSize = "2147483647"
1

There are 1 best solutions below

0
On BEST ANSWER

I think for your scenario, the better way will be to use chunking (see also WCF Chunking / Streaming) or streaming, and not trying to pass all the data in one time.