c# Programming Glossary: protobuf
What are the differences between the XmlSerializer and BinaryFormatter http://stackoverflow.com/questions/1154198/what-are-the-differences-between-the-xmlserializer-and-binaryformatter
Strategy for cross-language (java and c#) object serialization http://stackoverflow.com/questions/2001405/strategy-for-cross-language-java-and-c-object-serialization here. On the C# side I would recommend Jon Skeet's dotnet protobufs for this use case since it has the same API on both sides his.. . If you want the C# to be more typical .NET then protobuf net may help. the wire format is obviously identical between.. vary Small fast efficient portable . For info I know that protobuf net has .NET 2.0 support I honestly haven't tried this on Jon's..
Using Protobuf-net, I suddenly got an exception about an unknown wire-type http://stackoverflow.com/questions/2152978/using-protobuf-net-i-suddenly-got-an-exception-about-an-unknown-wire-type a field is causing the problem how to debug this c# protobuf net share improve this question What is a wire type It is..
Performance Tests of Serializations used by WCF Bindings http://stackoverflow.com/questions/3790728/performance-tests-of-serializations-used-by-wcf-bindings Length 528 Serialize 12050 Deserialize 30558 protobuf net v2 Length 112 Serialize 217 Deserialize 250 so I conclude.. v2 Length 112 Serialize 217 Deserialize 250 so I conclude protobuf net v2 the winner... Numbers updated with .NET 4.5 and current.. Length 528 Serialize 8660 Deserialize 8468 protobuf net v2 Length 112 Serialize 78 Deserialize 134 with test rig..
Interprocess communication for Windows in C# (.NET 2.0) http://stackoverflow.com/questions/50153/interprocess-communication-for-windows-in-c-sharp-net-2-0 that runs on top of the library https code.google.com p protobuf csharp rpc WM_COPYDATA For completeness it's also possible to..
protobuf-net inheritance http://stackoverflow.com/questions/6247513/protobuf-net-inheritance net inheritance Marc mentioned on stackoverflow that it will.. on stackoverflow that it will be possible in v2 of protobuf net to use ProtoInclude attribute or similar approach to serialize.. How would I go about implementing inheritance with protobuf net like that if I don't know what the subtypes are c# protocol..
Deserialize unknown type with protobuf-net http://stackoverflow.com/questions/675349/deserialize-unknown-type-with-protobuf-net unknown type with protobuf net I have 2 networked apps that should send serialized protobuf.. net I have 2 networked apps that should send serialized protobuf net messages to each other. I can serialize the objects and.. c# serialization protocol buffers protobuf net share improve this question First for network usage..
What is the point of the ISerializable interface? http://stackoverflow.com/questions/810974/what-is-the-point-of-the-iserializable-interface platform formats like protocol buffers. For completeness protobuf net does include hooks for ISerializable allowing you to use..
C# arrays , Getting a sub-array from an existing array http://stackoverflow.com/questions/943635/c-sharp-arrays-getting-a-sub-array-from-an-existing-array as appropriate XmlSerializer DataContractSerializer protobuf net etc. Note that deep clone is tricky without serialization..
|