I'd also welcome some sort of explanation.  I've googled and haven't found
anything that seems to substantiate this.

What I have found is that a) you give up interoperability with the non .Net
world, and b) it is assumed you will mistake WebServices for one of the
distributed object technologies.

I use WebServices (and now WCF) as the communication glue for Smart Client
apps on a LAN.  I understand that I am exchanging messages that contain an
XML payload or XMLDocument; that no behaviour is associated with the XML and
no state is maintained once the message has been sent.

My messages, for the most part, transfer database records between client and
server and so if I don't use DataTables or DataSets ('and the only thing
worse is custom business objects') what should I use to serialize this data?

It would also mean giving up DataRow versioning and DataRelations which are
extremely useful for cascading updates involving identity keys.  I'd end up
having to rewrite much of the functionality that comes for free with
DataSets.  I can also throw a DataTable at a DataGrid and get AddNew
functionality for free.

It seems to me that "DATASETS over Web Service = Very Bad" is only true if
you need interoperability with the non .Net world.  If there are any good
arguments as to why you shouldn't use them between two .Net systems, I'd
appreciate some pointers.

Thanks
--Michael


-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Wuestefeld
Sent: 11 October 2006 14:59
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] Web services, DataSets and making use of
XSDs...

Don:
> DATASETS over Web Service = Very Bad

Shawn:
> Don is EXACTLY correct

Since this is the architecture of one of our most important apps (and it's
working quite well), I'm interested in the reasoning behind this. Does
anyone have pointers to articles?

===================================
This list is hosted by DevelopMentor.  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date: 19 Sep 2006

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to