Data as binary objects

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
We have been analyzing/evaluating various options for data access on a PPC application. We are developing the app in C# and the database will be in SQL Server. Now we are staying away from web services because of configuration issues and that decision is almost finalized. We cannot store the data on the device in XML format because the size of the data can slow down the functioning of the app
So the idea being discussed now is to store the data in a binary format and use that to create datasets and access the data. Our clients (home care nurses) will be working mostly offline with our app, so they should be able to use the app without any hiccups
Well, the question is whether this is possible and how can we handle the serialization/deserialization of data
Please provide your input/suggestions/ideas..
Thanks and regards
Raj
 
Serialization/Deserialization is not supported in the CF. You could take a look at OpenNETCF.org SDF. It provides XML Serialization. If this doesn't suit your needs you will have to role your own serialization/deserialization for your data. How big is your XML data? SP2 makes a lot of imporvments on reading XML and V2 of CF makes even more performance improvements. It sounds like you are in the beginning stages of your project so taking another look at XML might be worth doing depending on when you are deploying your app

HT
Mark Arteaga
 
Back
Top