wcfnettcpbindingmaxreceivedmessagesize

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


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"

Solution

  • 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.