Transferring large payloads of data (Serialized Objects) using wsHttp in WCF with message security

前端 未结 5 1203
陌清茗
陌清茗 2020-12-08 01:34

I have a case where I need to transfer large amounts of serialized object graphs (via NetDataContractSerializer) using WCF using wsHttp. I\'m using message security and woul

5条回答
  •  既然无缘
    2020-12-08 01:51

    protobuf-net generally has a significant space-saving (as in: order-of-magnitude) on most data, and can attach to WCF. Unfortunately at the moment it doesn't support full graphs, only trees. However, I have plans there that I simply haven't had time to implement. I can't promise anything, but I could try to bump that work a bit sooner.

    Otherwise; there may be ways to tweak your existing code to work with a tree instead of a graph.

提交回复
热议问题