binary-serialization
getting "unable to find assembly" when trying to deserialize, works from client to server but not the other way
I\'ve read plenty of similar questions and answers on this topic, but still not sure why I get this problem.[详细]
2023-01-16 14:31 分类:问答Conditional C# Binary Serialization
I am using BinaryFormatter to serialize a class and its variables by condition. For example: [Serializable][详细]
2023-01-15 03:08 分类:问答polymorphism in c and buffers
I have this union: typedef union Message { message_basebase; message_with_parametersparameters; reply_messagereply;[详细]
2023-01-12 04:16 分类:问答How does BinaryFormatter.Deserialize create new objects?
When BinaryFormatter deserializes a stream into objects, it appears to create new objects without calling constructors.[详细]
2023-01-12 01:35 分类:问答Sending interfaces as message in NServiceBus with the Binary Serializer
I recently moved to using the binary serializer to send messages with NServiceBus.My messages are all defined as interfaces and are instantiated using[详细]
2023-01-11 12:33 分类:问答Most current implementation methods for serializing objects in .NET (as of v4.0)
I have an simple custom object called MyObject (a couple of basic properties and a List(of MyObject), so it\'s recursive) that I need to开发者_如何学Go serialize for storage. I\'m not sure if I\'ll se[详细]
2023-01-04 04:41 分类:问答How to analyse contents of binary serialization stream?
I\'m using binary serialization (BinaryFormatter) as a temporary mechanism to store state information in a file for a relatively complex (game) object structure; the files are coming out much larger t[详细]
2023-01-03 10:36 分类:问答Why can't the 'NonSerialized' attribute be used at the class level? How to prevent serialization of a class?
I have a data object that is deep-cloned using a binary serialization. This data object supports property changed events, for example, PriceChanged.[详细]
2022-12-23 13:30 分类:问答How to ignore Event class member for binary serialization?
I need to avoid serializing an Event class member because when the event is handled by an object that is not marked as Serializable the serialization will fail.[详细]
2022-12-22 05:26 分类:问答