开发者

WCF Implications of Increasing MaxObjectsInGraph

开发者 https://www.devze.com 2023-03-16 17:46 出处:网络
Is there any disadvanta开发者_高级运维ge in increasing this value other than not capturing when the server tries to return unusually large responses?The only things I can think of are:

Is there any disadvanta开发者_高级运维ge in increasing this value other than not capturing when the server tries to return unusually large responses?


The only things I can think of are:

  • Performance (More items to serialize)
  • Memory Usage (Larger lists/arrays)
  • Potentially more exploitable (Someone could spam you with very large requests and cause a DOS condition)


The only thing I can think of is performance. If your use case allows, you should consider returning only a "page" of data at a time. Again, you may not have that option...

0

精彩评论

暂无评论...
验证码 换一张
取 消