Transmitting the least amount of data over the wire with WCF

前端 未结 4 603
迷失自我
迷失自我 2021-01-03 14:56

My project has a netTCP WCF service. This is the app.config for it:



    

        
4条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-03 15:57

    I'm still trying to piece all of this together myself, but I do know that when you use the DataContractAttribute, you are using DataContract serialization. I'm not clear exactly on the differences between this serialization scheme and the Serializable scheme, but from what I've been able to gather, they are different.

    Marc Gravell, one of the moderators here at SO, is the expert that I've looked to on this issue. He actually has a serialization scheme called protobuf-net that is available for use here.

提交回复
热议问题