PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Question about web Services

Reply

Question about web Services

 
Thread Tools Rate Thread
Old 07-03-2006, 02:29 PM   #1
Julián
Guest
 
Posts: n/a
Default Question about web Services


Hi:

According to the .Net CF Team. in some cases is better to serialize dataset
as xml string and then transfer it over the wire than if web service return
directly dataset.
Nevertheless is recommended to send dataset schema to improve the
performance of load, for which I think that finally the data to send results
to be the same one.
Therefore, I do not understand the advantages.
Someone would be able to explain me which can be those advantages?

Regards.


  Reply With Quote
Old 07-03-2006, 08:07 PM   #2
Ilya Tumanov [MS]
Guest
 
Posts: n/a
Default Re: Question about web Services

There are no advantages as it's never better to serialize DataSet as string.

Please let me know where this came from so it can be corrected.



Using schema would indeed improve performance.

--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group...framework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

"Julián" <none@none> wrote in message
news:upYk%23PfQGHA.5808@TK2MSFTNGP12.phx.gbl...
> Hi:
>
> According to the .Net CF Team. in some cases is better to serialize
> dataset as xml string and then transfer it over the wire than if web
> service return directly dataset.
> Nevertheless is recommended to send dataset schema to improve the
> performance of load, for which I think that finally the data to send
> results to be the same one.
> Therefore, I do not understand the advantages.
> Someone would be able to explain me which can be those advantages?
>
> Regards.
>
>



  Reply With Quote
Old 08-03-2006, 07:12 AM   #3
Julián
Guest
 
Posts: n/a
Default Re: Question about web Services

..Net CF blog: http://blogs.msdn.com/netcfteam/arc.../04/414820.aspx
In the Section: How can I increase web service client performance ?


"Ilya Tumanov [MS]" <ilyatum@online.microsoft.com> escribió en el mensaje
news:440de7f0$1@news.microsoft.com...
> There are no advantages as it's never better to serialize DataSet as
> string.
>
> Please let me know where this came from so it can be corrected.
>
>
>
> Using schema would indeed improve performance.
>
> --
> Best regards,
>
> Ilya
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> *** Want to find answers instantly? Here's how... ***
>
> 1. Go to
> http://groups-beta.google.com/group...framework?hl=en
> 2. Type your question in the text box near "Search this group" button.
> 3. Hit "Search this group" button.
> 4. Read answer(s).
>
> "Julián" <none@none> wrote in message
> news:upYk%23PfQGHA.5808@TK2MSFTNGP12.phx.gbl...
>> Hi:
>>
>> According to the .Net CF Team. in some cases is better to serialize
>> dataset as xml string and then transfer it over the wire than if web
>> service return directly dataset.
>> Nevertheless is recommended to send dataset schema to improve the
>> performance of load, for which I think that finally the data to send
>> results to be the same one.
>> Therefore, I do not understand the advantages.
>> Someone would be able to explain me which can be those advantages?
>>
>> Regards.
>>
>>

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off