I have some fairly simple code using Protobuf.net, which is throwing a very odd exception.
In MetaType.cs on line 167 it throws a InvalidOperationException "The type cannot be changed once a serializer has been generated". What does this mean and how do I fix it?
My code looks like this:
This method starts off all the serialising:
whi...
I switched to work on another computer, I installed visual C# express and protoBuf-net,
and then I copied the source of the project to the other computer.
Now when I open the project on the second computer, the program does not serialize and deserialize the data.
When I'm debugging, every time I step into a piece of code using Protobuf,...
Is there a way to do this?
I would like to know how many bytes were read from a NetworkStream when I call DeserializeWithLengthPrefix. Since NetworkStream does not support the Position property I cannot see a simple way to do this. Can this be done in a reasonably efficient way?
I need to know this for profiling purposes, and it would be...
Hello.
I try use WCF with protobuf-net r.282
Ok. I mark my contracts with ProtoBehavior attribute
[OperationContract,ProtoBehavior]
[FaultContract(typeof(ServiceFaultException))]
Dictionary<ActivityCategoryDTO, SalesTemplateDTO> GetSalesTemplates();
[OperationContract, ProtoBehavior]
[FaultContract(typeof(ServiceFa...