Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to pass a table of data
Message
De
08/12/2004 06:06:33
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Divers
Thread ID:
00967555
Message ID:
00967692
Vues:
7
Funny I could point you to the same article interpreting it as why to return a dataset.
Here the consumer is .NET. Even if that wasn't .NET still gets a well constructed XML. Anyway at least I'm not an XML expert and wouldn't try to construct my own XML.
Cetin

>Here is good article on why not to return DataSet from a webmethod.
>
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/html/service02112003.asp
>
>
>>Bonnie,
>>What's the difference? Passing a dataset you're already passing an XML,no?
>>Cetin
>>
>>>Stephen,
>>>
>>>I don't recommend passing a DataSet to or from a WebService. Use an XML string instead. It's easy enough to serialize/deserialize a DataSet to/from XML.
>>>
>>>~~Bonnie
>>>
>>>
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform