Re: DataSet and best practice in 2.0
- From: "sonic" <sonicsoul@xxxxxxxxx>
- Date: 14 Jun 2006 09:27:23 -0700
thanks again for your reply.
can you elaborate more about how WCF would change the game for
distributed apps ?
also,
everything over webservices serializes to xml, the question is which
objects serialize faster and slimmer output.. i think dataset is at the
lowest performance end of that matric.
David Browne wrote:
"sonic" <sonicsoul@xxxxxxxxx> wrote in message
news:1150220740.572705.97140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
thanks for the reply.
i am indeed moving data across machine boundaries in a single
application. using dataset with different platforms wouldn't make much
sense.
as far as switching to binary serialization, that would mean switching
from webservices to remoting no ?
What I was thinking about as an easy change is to add a web method that
passes byte[]'s containing binary-serialized datasets. Not quite as fast as
remoting, and a bit dirty, but certianly easy.
Moreover, by the time you get around to solving this problem WCF will be
here, which changes the whole game for distributed apps.
that is a significant change. i was
wondering about datasets in webservices, and if it is worth creating
strongly typed collections for every purpose instead of using datasets.
I wouldn't. Collections serialize to XML as well so there's not that much
of a perf difference. And another new feature of .NET datasets is the
ability to exclude the schema in XML serializaion. This makes the XML
format of DataSets not too different from the XML formats for typed
collections.
David
.
- Follow-Ups:
- Re: DataSet and best practice in 2.0
- From: David Browne
- Re: DataSet and best practice in 2.0
- References:
- Re: DataSet and best practice in 2.0
- From: David Browne
- Re: DataSet and best practice in 2.0
- From: sonic
- Re: DataSet and best practice in 2.0
- From: David Browne
- Re: DataSet and best practice in 2.0
- Prev by Date: Re: GC Handle leaks....
- Next by Date: Re: DataSet and best practice in 2.0
- Previous by thread: Re: DataSet and best practice in 2.0
- Next by thread: Re: DataSet and best practice in 2.0
- Index(es):
Relevant Pages
|