I'm currently working on a .net 4.6.2 application. I need to serialize an OData Api call and it works perfectly fine. Unfortunately I'm getting a So ...
I'm currently working on a .net 4.6.2 application. I need to serialize an OData Api call and it works perfectly fine. Unfortunately I'm getting a So ...
Good morning, I am working on a C# application and I need to serialize an object with ISerializable interface but I do not how to do it. My object has ...
I have some Exception derived types, which add additional properties to the Exception. Searching the web for examples and guidelines on how to handle ...
SonarCube shows me error "Update this implementation of 'ISerializable' to conform to the recommended serialization pattern" for the following excepti ...
I'm trying to serialize/deserialize a custom class I have that has a System.Windows.Media.Color property. It wasn't working because Color doesn't have ...
Although there is an interface named ISerializable, it seems to purpose to customize details when a type is marked [Serializable] attribute. If I unde ...
I am writing the serialization code for a Collection<T> class and would like to know how to set and get the items in the collection. I am using ...
This class is referenced by another Serializable class. Here's the code that calls the serialization/deserialization code: And the actual seri ...
I dont' understand the use of the [NonSerialized] attribute when implementing ISerializable on a class. I attended the "programming in C#" (Microsoft ...
I am trying to find a way to serialize and deserialize the ClassToSerialize below built like: The class will be passed to an API and on deserializ ...
I have a complex object which is ISerializable and i want to serialize it into an XML document (node that i rather to not change the source code and a ...
I'm trying to keep my session in SQLServer. I know if an object needs to be stored in SQL than it needs to be Serialized. And i also know that i need ...
I'd like to implement ISerializable for a C# class which contains a list of similar typed children. Consider the following example: In the sample a ...
I'm trying to extend a framework. One of the classes I am extending is serialized. The base class' GetObjectData() method is not marked virtual so I c ...
Packet is my class use for holding data, implemented ISerializable and all needed constructor and functions I read from [http://msdn.microsoft.com/e ...
I've been trying to understand how to correctly implement a circular reference using the ISerializable interface. But i have not been able to work out ...
My Code Linq-to-SQL Result Invalid attribute. Both 'Void ClearPassword()' and 'Void OnSerializing(System.Runtime.Serialization.StreamingCont ...
I translate my project to use protobuf-net instead of BinaryFormatter. It looks like there is a lack of documentation http://code.google.com/p/protobu ...
By way of background to this question, I want to bind a "code made" DataTable to an aspx:GridView. To persist this table I implement the ISerializable ...
The ISerializable interface only provides a method to serialize the object. The deserialization process is managed by a constructor. The problem is, ...