简体   繁体   中英

Can protobuf-net serialize MessageContracts as a replacement for the DataContractSerializer?

I can't seem to find documentation on this anywhere, though this discussion seems to suggest messaging will always be a WCF affair...

Can a MessageContract be serialized with protobuf-net? If so, are there special decorations for MessageHeader and MessageBodyMember ?

Protobuf-net only know about data-contracts, not message-contracts. So: no, basically.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM