[Mono-devel-list] problem whit soap serialization
manuel kaderli
suntsu at suntsu.ch
Sun Feb 29 15:02:27 EST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
I would like to serialize my application data.
In a book about c#(Microsoft) i saw
"System.Runtime.Serialization.Formatters.Soap"
but it doesn't exist in mono.
In which namespace do i find the xml-seralization?
The binary serialization works good, but i would like to use xml instead of a
binary format.
//works for me whit Serialization.Formatters.Binary;
using System.Runtime.Serialization.Formatters.Binary;
Stream streamWrite = File.Create("MyRow.bin");
BinaryFormatter binaryWrite = new BinaryFormatter();
binaryWrite.Serialize(streamWrite, row);
streamWrite.Close();
kind regards
manuel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAQkVXk3ycFnrKFaoRAkh0AJ9o+KN0vXB7+6BrWxAeBpA8AeYQgQCeLGvD
s4EeEijUB2nyVlF/kDeZNKE=
=cmIH
-----END PGP SIGNATURE-----
More information about the Mono-devel-list
mailing list