How Can I do a XML Serialization in the Compact Framework?

  • Thread starter Thread starter Roberto Castro Vexler
  • Start date Start date
R

Roberto Castro Vexler

Hello guys:
How Can I do a XML Serialization in the Compact Framework?

Roberto Castro Vexler
 
it's supported only in a Dataset.
however I would advice you: don't use XML serialization, wether custom or
not !
it is verrrrrrrrrrryyyyyy
sloooooooooooooooooooooooooooooooooooooooooooooooooooooooow !
 
let me comment more on that.

in my app I 1st used (home made) XML serialization, it was overkill

then I used (home made) binary serialization. it was 4 times faster (300%
faster !), bt it's still slow for big data, nedd me to have an OPen/Save
button, and add an exit menu (to save) which is "bad practice" according to
MS convention on PPC

next (soon) we would store our data in SqlServerCe, which is free, present
on all new PPC, and will enable to have data saved all the time, removing
the need for the quit menu.

do the same since the start, store your data in a SqlServerCe DB !
 
OpenNETCF SDF 1.1 has a limited XML Serializer. It can deal with structures
and objects and supports serializing the publicaly visible read-write
properties. [XmlIgnore] attribute is also supported to prevent serialization
of particular properties.
 
Back
Top