Top "Binaryformatter" questions

`BinaryFormatter` is an insecure serializer built into the .net framework, that's disabled by default in ASP.

C# Object Binary Serialization

I want to make a binary serialize of an object and the result to save it in a database. Person …

c# string serialization binaryformatter
BinaryFormatter and Deserialization Complex objects

Can not deserialize following object graph. That Exception occurs when deserialize method called on BinaryFormmater: System.Runtime.Serialization.SerializationException : The …

c# binaryformatter
Binary Deserialization with different assembly version

I have a project which uses BinaryFormatter to serialize a collection of structs with string and bool? datatypes. The serialization/…

.net serialization binaryformatter assemblyversions
Binary stream '0' does not contain a valid BinaryHeader error on deserialization

After searching for an answer to this issue for the last 2 days, I'm hoping someone here can help. I have …

c# deserialization binaryformatter
BinaryFormatter deserialize gives SerializationException

I'm getting an: System.Runtime.Serialization.SerializationException: Unable to find assembly 'myNameSpace, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null When trying to …

.net exception serialization binaryformatter
How to get BinaryFormatter to deserialize in a different application

I am using BinaryFormatter to serialize an array of class instances to a file. I can deserialize this fine within …

c# .net serialization binaryformatter
Load File Not working - The magic number in GZip header is not correct

I am attempting to create a Save/Load class that has the option for saving & load files compressed files. …

c# serialization gzip deserialization binaryformatter
serialize/deserialize a list of objects using BinaryFormatter

I know there were already many discussions on that topic, like this one: BinaryFormatter and Deserialization Complex objects but this …

c# object serialization deserialization binaryformatter
Performance: BinaryFormatter vs. XmlSerializer

I read very often that the BinaryFormatter has better performance then XmlSerializer. Out of curiosity, I wrote a test-app. a …

c# performance xmlserializer binaryformatter
Serialize and Deserialize object graph using BinaryFormatter

I'm trying to serialize my object graph to a string then deserialize it from a string. The object serializes just …

c# serialization binaryformatter