iserializable Questions

2

SonarCube shows me error "Update this implementation of 'ISerializable' to conform to the recommended serialization pattern" for the following exception implementation: [Serializable] public class...
Utricle asked 20/2, 2020 at 2:13

0

I don't understand how it works: when I implement ISerializable interface I have to define protected (unless the class is sealed, in which case the constructor should be marked private) constructor...
Gynous asked 4/7, 2013 at 17:2

2

I am attempting to serialize/deserialize an object that contains a Dictionary<Tuid,Section>. These are both custom types. In my code I have a type of Template which contains the Dictionary&l...
Anethole asked 1/12, 2011 at 10:49

5

Solved

I have to work an an old application that used binaryFormatter to serialize application data into filestream (say in a file named "data.oldformat") without any optimizazion the main class has been ...
Plastometer asked 10/4, 2010 at 15:34

1

Solved

I have a custom abstract base class with sub classes that I've made serializable/deseriablizeable with ISerializable. When I do serialization/deserialization of single instances of this class' sub ...
Trilogy asked 2/12, 2010 at 20:37

2

Solved

I have a Data Access Layer, a Service Layer, and a Presentation Layer. The Presentation Layer is ASP.NET MVC2 RTM (web), and the Service Layer is WCF (services). It's all .NET 3.5 SP1. The problem...

5

Solved

What's the difference between using the Serializable attribute and implementing the ISerializable interface?
Planchette asked 2/3, 2010 at 17:16

3

Solved

This question is close to what I'm interested in, but not quite. I have a .NET WinForms application written in C#. I have a ListView control which displays an array of C# objects. I've hooked it u...
Courtmartial asked 21/1, 2010 at 1:0

4

Solved

It seems like I can serialize classes that don't have that interface, so I am unclear on its purpose.
Voracious asked 1/5, 2009 at 10:56
1

© 2022 - 2024 — McMap. All rights reserved.