Questions tagged [binary-deserialization]

34 questions
0
votes
1 answer

Strange behaviour of Apache Thrift deserialization in .Net

I use Apache Thrift in my applications to exchange data betwean several machines. I recive data from outspace, create transport, protocol and deserialize recived data into object. Here is my code: using (var memoryStream = new MemoryStream(data)) …
ArhiChief
  • 240
  • 2
  • 13
0
votes
1 answer

DeserializingException using SharpSerializer

I'm trying binary serialization to work with some complex objects. Using SharpSerializer, the serialization works without problems but I can't deserialize. Here's the code snippet and the stack trace. var settings = new…
StepTNT
  • 3,867
  • 7
  • 41
  • 82
0
votes
1 answer

How to deserialize when only interface is available?

I have three components: utility library (Processor.dll): Only knows about Element library Element library (IElement): Doesn't know about any library App: Knows about both libraries App calls the Processor library and passes it a class of…
4thSpace
  • 43,672
  • 97
  • 296
  • 475
0
votes
1 answer

Error Deserializing Assembly for Dynamically Compiled codes

Am attempting to Serialize a dynamically generated/compiled assembly to store into SQL and then subsequently extract the assembly for use. However, I am hitting an error that is driving me nuts. "Could not load file or assembly ',…
jlee88my
  • 2,935
  • 21
  • 28
1 2
3