Gzip

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I need to compress data in gzip format and post it to a server and get
the response back and decompress it.
Does any body having idea or code sample?

Thanks
 
Sergey\ Baskar,

I am doing a similiar thing in which my desktop application calls a
webservice over the internet and returns me an ADO.NET dataset, to optimize
my application i am thinking of using compression but dont know how things
would work.

Question are

1. Right now what is being returned from the webserver is an ADO.NET
dataset and this is what i would be Compressing before passing it to over the
wire, right?

2. When the webservice returns the Gzip compressed ADO.net dataset to the
calling winform application, does this need to be Serialized at the
transmitting side and then unserialized at the receiving side?

3. Also does the compressed ADO.net dataset needs to be UnCompressed over
the receiving side as well before being use, right? ( Ofcourse, yes)

Wating for your answers.
Thanks
Sameer

Sergey Bogdanov said:
See this library:
http://www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx


--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com

Hi,
I need to compress data in gzip format and post it to a server and get
the response back and decompress it.
Does any body having idea or code sample?

Thanks
 
Back
Top