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

  • Thread starter Roberto Castro Vexler
  • Start date
R

Roberto Castro Vexler

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

Roberto Castro Vexler
 
L

Lloyd Dupont

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 !
 
L

Lloyd Dupont

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 !
 
A

Alex Feinman [MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top