What to use dataset or xml in compact framework

A

alokyadav12

I have to develop the win application for handheld. i m using
webservice for all bussiness logic or for data transfer.
i want to ask which is the best to get from web service XML or
dataset.
is it best to get return result in XML or dataset from webservice. i
have a major performance issue. so which is best so the performance is
good.
i also have to manipulate some information on handheld application.
So please suggest me what is best to use or xml or dataset.
 
S

Simon Hart [MVP]

A DataSet in my opinion should only ever be used internally not for
distributed systems as it is a proprietry object only applicable to .NET
applications. In addition, it is heavy so depending on what communication
technology you intend to use the performance of your application could
suffer. XML is an open standard, everybody understands it, it can be as light
as you want it to be.

We often use object models (a new feature of VS 2008 is the entity framework
which creates these for you - ORM), which serialize to XML to pass back and
forth. One of our latest WCF projects uses REST with XML as the data because
it will be consumed by non-windows operating systems and non Microsoft
computer languages.

So the answer depends....generally though XML is always a more scallable
 

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