473,748 Members | 6,370 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compress data on server and uncompress on client?

I have a dynamic xml file that needs to be downloaded periodically to the
client from an ASP.Net application. This file can be rather large, but it
zips up very small. Does anyone know of a simple way that I can compress the
file from my ASP.Net server code and then uncompress it from client jscript
to read it? Maybe there is an IIS setting that automatically compresses
data. Any suggestions?
May 22 '06 #1
4 1909
Harry Keck wrote:
I have a dynamic xml file that needs to be downloaded periodically to
the client from an ASP.Net application. This file can be rather
large, but it zips up very small. Does anyone know of a simple way
that I can compress the file from my ASP.Net server code and then
uncompress it from client jscript to read it? Maybe there is an IIS
setting that automatically compresses data. Any suggestions?


Here's one:
http://www.microsoft.com/technet/pro...b4f312e0e.mspx
--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
May 22 '06 #2
Dave,

I am wondering how many people are using this and if all browsers can handle
compression well. Any issues?
How much speed improvement can you get out of this.

Sa

"Dave Anderson" <GT**********@s pammotel.com> wrote in message
news:OC******** ******@TK2MSFTN GP05.phx.gbl...
Harry Keck wrote:
I have a dynamic xml file that needs to be downloaded periodically to
the client from an ASP.Net application. This file can be rather
large, but it zips up very small. Does anyone know of a simple way
that I can compress the file from my ASP.Net server code and then
uncompress it from client jscript to read it? Maybe there is an IIS
setting that automatically compresses data. Any suggestions?


Here's one:
http://www.microsoft.com/technet/pro...b4f312e0e.mspx
--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message.
Use of this email address implies consent to these terms.

May 23 '06 #3
MSDN wrote:
I am wondering how many people are using this and if all
browsers can handle compression well. Any issues?
How novel -- MSDN now considers me a reference instead of the other way
around. Very well:
http://www.schroepl.net/projekte/mod_gzip/browser.htm
How much speed improvement can you get out of this.


http://www.port80software.com/survey...#checkyoursite

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
May 23 '06 #4
Dave,

Thank you, your majesty.

Sa

"Dave Anderson" <GT**********@s pammotel.com> wrote in message
news:12******** *****@corp.supe rnews.com...
MSDN wrote:
I am wondering how many people are using this and if all
browsers can handle compression well. Any issues?


How novel -- MSDN now considers me a reference instead of the other way
around. Very well:
http://www.schroepl.net/projekte/mod_gzip/browser.htm
How much speed improvement can you get out of this.


http://www.port80software.com/survey...#checkyoursite

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message.
Use of this email address implies consent to these terms.

May 23 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2181
by: Kirsten | last post by:
Hi @all, today I have implemented the ZLib library (1.2.1) in my C++ project. Using the function compress2(...) (Compression level 1) I have encoded my string. Then I wanted to uncompress the string with PHP on my server, but here the error: Warning: gzuncompress(): buffer error in ...
4
3876
by: Slaanesh | last post by:
Hi, I have to uncompress a buffer extracted from a file (not the entire file is compressed, it begins after the 8th byte). The data has been compressed using zlib library. My problem is that it doesn't work ;( I wrote this code the map the content of the file in memory:     /* gets file size */     file = fopen(src, "r");     if (!file) {         return (0);
7
2703
by: Wencheng Magiya | last post by:
Hi all, My WebService connects to a database server, client application connects to the WebService. There is a backup method in WebService backups database and sends compressed data back to the client app. The client app then generates a zip file using the compressed data. I tried Xceed's Zip library, it can do the job well, but its price is kind of expensive. Is there any other alternative method can compress data in memory? Best...
2
1290
by: ad | last post by:
I want to compress two fies in server (c:\data\mine.mdf, mine_log.ldf) into a files and copy the a specific folder in client. How can I do that?
6
2998
by: Champika Nirosh | last post by:
Hi, I have two machine where I needed to have a extended TCP/IP protocol to make the link between the two machines Mean,I need to write a application that compress every data the machine send out.. and also need to un compress at the receiving end.. futher explaing...
3
2259
by: kpmassey | last post by:
I'm using javascript to construct large tables from an array of data, using ideas from: http://www.oreillynet.com/pub/a/javascript/2003/05/06/dannygoodman.html The data itself cannot be constructed by the javascript code, so is explicitly passed in with a large array, e.g. var data = new Array();
6
8813
by: Adriano | last post by:
Can anyone recommend a simple way to compress/decomress a String in .NET 1.1 ? I have a random string of 70 characters, the output from a DES3 encryption, and I wish to reduce the lengh of it, thanks,
1
2750
by: =?Utf-8?B?U2NobWVuZ3k2OQ==?= | last post by:
Hopefully someone can help with this query. I have searched the internet and no other occurence of this problem seems to appear so I must be unique in some way... OS : XP Media Center I decided to clean up my hard-drive using Windows System Tools, Disk Cleanup. I had 'Compress old files' selected (on) and when the tool started to compress the files I got a message saying that 'certain Windows files that were required by the system...
5
4928
by: zgh1970 | last post by:
Hi, Friends, default DB2 compression library. I am wondering if this option will have any new restriction on RESTORE in the following. (Can I used that backup imsage for restore at the follwoing compatible situations?) : There are operating system considerations when using the RESTORE DATABASE command:
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8830
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9544
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9324
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8243
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6074
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4606
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3313
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.