all groups > dotnet web services > october 2006 >
You're in the

dotnet web services

group:

Compress dataset returned from Web Service


Compress dataset returned from Web Service Evgeny.Br NO[at]SPAM gmail.com
10/31/2006 4:47:03 PM
dotnet web services:



Hi All,

I use .NET 2.0.


I experience huge performance problem retrieving dataset from web
service.
The dataset volume returned from WS is about 5-7 megabyte, it's take
too long.


Is it possible to compress dataset in some way in the WS send to
client, and decompress
in the client, if yes how???


Maybe there is another way to pass huge datasets from WS, maybe IIS ??


To do this asyncronously or in batches is not suitable for my problem.


Any ideas??


Thanks in advance.
RE: Compress dataset returned from Web Service Scott Seely
11/2/2006 8:47:03 AM
Can you give some more data about your application? For example, are you
sending typed datasets? What platform are you running on? Etc.

[quoted text, click to view]
Re: Compress dataset returned from Web Service Evgeny.Br NO[at]SPAM gmail.com
11/4/2006 6:57:38 AM

Hi,


i'm using .net 2.0 and dataset that returned from WS is untyped

TNX

[quoted text, click to view]
Re: Compress dataset returned from Web Service David++
11/6/2006 1:25:02 AM
Hi,

I havent yet tried it myself. However, this blog, which includes a
compression library, look promising, at least for desktop applications.

http://weblogs.asp.net/pglavich/archive/2004/01/24/62475.aspx

After some googling, I believe it is possible to provide compression by
'zipping' the web services data when sending and 'unzipping' when retrieving
the web services data. Most examples I have found through searching seem to
use compression and decompression by a .NET compatible zip library of some
sort.

If you find anything yourself please let me know.

Regards,
David

[quoted text, click to view]
Re: Compress dataset returned from Web Service Scott Seely
11/6/2006 5:31:02 AM
By sending typed datasets, you will reduce the payload somewhat, though at
your volume, this may not be appreciable. You'll most likely want to look at
enabling compression to reduce the wire size. An article explaining how this
is done is at
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/25d2170b-09c0-45fd-8da4-898cf9a7d568.mspx?mfr=true

[quoted text, click to view]
AddThis Social Bookmark Button