RE: gzip compression for compact framework
- From: sameer <sameer@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 19 Mar 2007 15:50:05 -0700
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
"sameer" 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.
thanks
sameer
- Prev by Date: Re: gzip compression for compact framework
- Next by Date: Re: gzip compression for compact framework
- Previous by thread: Re: gzip compression for compact framework
- Index(es):
Relevant Pages
|