protobuf-net
How can I use AddSubType on a type that is a collection?
RuntimeTypeModel.Default[typeof(IMyClass2)].AddSubType(1, typeof(MyClass)) threw \"Repeated data (a list, collection, etc) has inbuilt behaviour and cannot be subclassed\" exception. Following is the[详细]
2023-04-09 11:39 分类:问答protobuf-net's [ProtoInclude(1, "MyClass")] did not work
I am using protobuf-net v2 beta r431 for C# .net 4.0 application. In my application I have a Dictionary<int, IMyClass> which i need to serialize. A class MyClass implements IMyClass interface. A[详细]
2023-04-08 03:32 分类:问答Saving multiple file types into one potobuf-net'ized file in VB.net
I\'m writing a program that saves \'map\' files to the HD so that I can open them later and display the same data.My maps originally saved only one data type, a set of my own custom objects with the p[详细]
2023-04-07 16:59 分类:问答Reference integrity in BinaryFormatter
The existence of AsReference option in Protobuf-net and the word that BinaryFormatter is a \"graph serializer\" lead me to assume that BinaryFormatter does not maintain references and that it makes a[详细]
2023-04-05 20:15 分类:问答Options for RPC in Mono? (WCF Alternatives)
I have had the opportunity to spend a great number of hours trying to use WCF in mono. It is simply too poorly implemented at this point to be put into a productio开发者_StackOverflow中文版n environme[详细]
2023-04-05 20:12 分类:问答Protobuf.net Exception - Timeout while inspecting metadata
I am sometimes receiving the following exception when attempting to deserialise an object using protobuf.net. I\'m surprised as I never have more than a single thread deserialising the same object at[详细]
2023-04-04 03:45 分类:问答protobuf-net throwing exception for generic base class
I have the following.. [ProtoContract, ProtoInclude(50, typeof(DateRange)), ProtoInclude(51, typeof(IntRange))][详细]
2023-04-04 03:10 分类:问答Protobuf.net object graph serialization for lists
I understand that AsReference is not supported for lists with protobuf.net, so I have attempted a work-around for this limitation.I have created a custom list called SuperList that contains items wrap[详细]
2023-04-03 17:38 分类:问答How to implement protocol buffers (de)serialization on a Java client talking to a .NET server utilizing protobuf-net v2?
If I understand it correctly, the Java end needs the respective .p开发者_如何学编程roto file. However, it is unclear to me how to generate one from the RuntimeTypeModel instance (protobuf-net v2) used[详细]
2023-04-03 17:00 分类:问答Making Fiddler understand (i.e. decode) an HTTP request/response encoded with protocol buffers
Given: Windows开发者_如何学Python Client-Server communication over HTTP with protocol buffers Agent-Server communication over HTTP with protocol buffers (a different .proto spec)[详细]
2023-04-03 08:19 分类:问答