T
Tony Johansson
Hi!
You have three methods to use when serializing an object and these are:
1.BinaryFormatter
2.SoapFormatter
3.XML seializing
One major disadvantage with the BinaryFormatter is that you must document
exactly what you have serialize because if you don't you haven't the
slighest idea what you have serialized except text members.
If you use XML to serialize you can see exactly what you have serialize.
If you use XML to serialize insted of BinaryFormatter you will have much
greater files and the perfermance will be much slower then BinartFormatter.
So its probably best to use BinartFormatter what it's suitable and keep the
docs up to date.
I just wonder assume that you have serialized an object and you have forgot
what members you have serialized
is it any why to find out which members you have actually serialized ?
//Tony
You have three methods to use when serializing an object and these are:
1.BinaryFormatter
2.SoapFormatter
3.XML seializing
One major disadvantage with the BinaryFormatter is that you must document
exactly what you have serialize because if you don't you haven't the
slighest idea what you have serialized except text members.
If you use XML to serialize you can see exactly what you have serialize.
If you use XML to serialize insted of BinaryFormatter you will have much
greater files and the perfermance will be much slower then BinartFormatter.
So its probably best to use BinartFormatter what it's suitable and keep the
docs up to date.
I just wonder assume that you have serialized an object and you have forgot
what members you have serialized
is it any why to find out which members you have actually serialized ?
//Tony