WCF alternative for no setting MaxReceivedMessageSize

105 views Asked by At

I'm facing a classic issue MaxReceivedMessageSize in a WCF service but setting up this value according 99% of internet's suggestions is not an option for me. The project must be more secure as possible and changing this property we're vulnerable to a DoS attack.

Today the web method returns a large list of a specific object. So, we're thinking if the server could send several chunks of data. Is it possible? What could you recommend?

Thanks!

1

There are 1 answers

5
Amit On BEST ANSWER

Yes. It is possible to send in chunks. Refer - http://msdn.microsoft.com/en-us/library/ms733742(v=vs.110).aspx