开发者

WCF Implications of Increasing MaxObjectsInGraph

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜