Re: Beginner with Questions re: WPF, WCF, LINQ
- From: Arne Vajhøj <arne@xxxxxxxxxx>
- Date: Sun, 16 Mar 2008 21:55:27 -0400
Steve Gerrard wrote:
Dave wrote:OK I am starting to understand. Basically the service does return XML
but the frontend will create a data object from the XML automagically.
Now I need to find a good tutorial on all this stuff.
Thanks again for clearing this up for me.
Just to reiterate, a web service can return a DataSet. It will actually be XML data, following Microsoft's diffgram XML schema, but for all intents and purposes, it is a dataset.
The client can call the method that returns a dataset, perhaps passing some parameter values, and assign the return value to a dataset variable. As you put it, all the xml processing happens automagically.
It can be a bit bulky for returning many rows, since the column names will be repeated twice for each row in the actual XML, but it works very smoothly.
I would not use a DataSet for a web service. It will not be consumable
from non-.NET clients.
Arne
.
- Follow-Ups:
- Re: Beginner with Questions re: WPF, WCF, LINQ
- From: Steve Gerrard
- Re: Beginner with Questions re: WPF, WCF, LINQ
- References:
- Re: Beginner with Questions re: WPF, WCF, LINQ
- From: Arne Vajhøj
- Re: Beginner with Questions re: WPF, WCF, LINQ
- From: Arne Vajhøj
- Re: Beginner with Questions re: WPF, WCF, LINQ
- From: Dave
- Re: Beginner with Questions re: WPF, WCF, LINQ
- From: Arne Vajhøj
- Re: Beginner with Questions re: WPF, WCF, LINQ
- From: Steve Gerrard
- Re: Beginner with Questions re: WPF, WCF, LINQ
- Prev by Date: Re: Returning an Abstract class from a property
- Next by Date: Re: How to detect SQLServer 2005 ?
- Previous by thread: Re: Beginner with Questions re: WPF, WCF, LINQ
- Next by thread: Re: Beginner with Questions re: WPF, WCF, LINQ
- Index(es):
Relevant Pages
|