Re: gzip compression for compact framework



Chris\ R_Z_aret,

thanks for your reply but i think i had not made my self clear as to what i
really was looking for, sorry about that. My barcode scanner application
calls webservices over the internet to access data from the database and
while that data is comming back i want IIS to compress it and as you know for
it to send me back compressed data in my initial request i have to pass the
http header Accept-Encoding with a value of Gzip.

In my desktop application which communicates in the same matter i.e using
webservices, i overridden the webservice's GetWebRequest method and add the
GzIp header and for the GetwebResponse methods i decompress it. i cannot do
this hear because these methods can notbe overridden in cmpact framework 1.

can you suggest of any way i can go arond this problem, one suggestion taht
i got from some internet research is to create my own custom webrequest, add
a customer header and sent it across. i have tried this but jsut not able to
do it

has any of you guys done this? any help is appreciated.

thanks


"<ctacke/>" wrote:

Yep, zlibCE fully supports gzip, and the code is very likely to work in CF
1.0 (though we didn't write it to target 1.0 nor did we test that).


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--



<r_z_aret@xxxxxxxxxxxx> wrote in message
news:pj3st25dftml1nngbski7gnngmr736qq5r@xxxxxxxxxx
On Tue, 20 Feb 2007 15:13:20 -0800, sameer
<sameer@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:


Hi guys,

Environment: compact framework 1.1, service pack 3, visual studio 2003
using
VB, Windows CE 4.0\ 5.0, GZIP compressionm, IIS 6.0

I have implemented compression in my desktop application but cannot do it
with barcode scanners.

Last time when I had done this it was without the SP3, after doing some
research came to know the necessary methods that are to be overridden,
GetWebRequest and GetwebResponse did not exist before the SP3 and so had
to
install SP3 but even after this, VS2003 is not able to handle overriding
these methods. Can any body shed some light on how to implement
compression (
Gzip) on the compact scanners , if you can point me some source code that
would be even better.

I can't help with GZip, but the following might be helpful:
www.opennetcf.com/zlibce
See current thread called "zlibCE" release in this newsgroup.



thanks

sameer

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and
please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com



.



Relevant Pages

  • [bzip2/lzma] fix for built-in initramfs issue
    ... architectures which don't do this style of kernel compression. ... available (bzip2 or lzma) or left uncompressed if none is available. ... Support loading of a gzip encoded initial ramdisk or cpio buffer. ... arch/$/Makefile to see the flags used before .incbin was introduced. ...
    (Linux-Kernel)
  • correction (Re: RFC, an ugly parser hack (and a bin-xml variant))
    ... > it is, well, signifigantly faster than my textual parser, largely because ... or maybe exceed that of gzip. ... and then rebuild the trees, which is faster than a pure-adaptive variant, ... but typically helps compression). ...
    (comp.text.xml)
  • Re: Zbip2 Size limitatations ?
    ... I have a big forder wich is 11 Go without any compression. ... With gzip it take 4.8Go, and i have to take another dvd or Cd to burn it... ... >>I do my backup like this for several folders. ... > Cheers, Gene ...
    (Fedora)
  • RE: gzip compression for compact framework
    ... GzIp header and for the GetwebResponse methods i decompress it. ... I have implemented compression in my desktop application but cannot do it ... GetWebRequest and GetwebResponse did not exist before the SP3 and so had ...
    (microsoft.public.windowsce.app.development)