473,467 Members | 1,481 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Can we transfer compressed dataset with Web Service?

ad
We can transfer DataSet in Web Service.
It will consume too much resource if the DataSet is large.
I wnat to compressed the DataSet befer transferred,
How can I do that?
Nov 17 '05 #1
5 2234
ad <fl****@wfes.tcc.edu.tw> wrote:
We can transfer DataSet in Web Service.
It will consume too much resource if the DataSet is large.
I wnat to compressed the DataSet befer transferred,
How can I do that?


Well, you could serialise the DataSet, for example to XML, then
compress it (eg using SharpZipLib) then at the other end decompress it
and then deserialise it.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 17 '05 #2
This might help too:
http://www.eggheadcafe.com/articles/20031219.asp

--
HTH,
Rakesh Rajan
MVP, MCSD
http://www.msmvps.com/rakeshrajan/

"ad" wrote:
We can transfer DataSet in Web Service.
It will consume too much resource if the DataSet is large.
I wnat to compressed the DataSet befer transferred,
How can I do that?

Nov 17 '05 #3
Do you really want to use such weakly typed objects in your web service?

Ollie Riches
"ad" <fl****@wfes.tcc.edu.tw> wrote in message
news:uc*************@tk2msftngp13.phx.gbl...
We can transfer DataSet in Web Service.
It will consume too much resource if the DataSet is large.
I wnat to compressed the DataSet befer transferred,
How can I do that?

Nov 17 '05 #4
ad
Thanks,
How to serialise the DataSet?
Could you give me an example?

"Jon Skeet [C# MVP]" <sk***@pobox.com>
???????:MP************************@msnews.microsof t.com...
ad <fl****@wfes.tcc.edu.tw> wrote:
We can transfer DataSet in Web Service.
It will consume too much resource if the DataSet is large.
I wnat to compressed the DataSet befer transferred,
How can I do that?


Well, you could serialise the DataSet, for example to XML, then
compress it (eg using SharpZipLib) then at the other end decompress it
and then deserialise it.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Nov 17 '05 #5
ad <fl****@wfes.tcc.edu.tw> wrote:
How to serialise the DataSet?
Could you give me an example?


See the docs for XmlSerializer for an example of how to serialize an
object - DataSets support serialization in the normal way.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 17 '05 #6

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

Similar topics

5
by: PerryG | last post by:
We have a .NET 1.1 client which is sending a gzipped soap request using HttpWebRequest to an Apache server. The Apache server is using a the 'mod_deflate' server to decompress the incoming...
0
by: Sanjay | last post by:
I have a question whose answer will help me save a lot of time in investigation and implementation. Becuase we have a mix of platforms (Windows/Unix etc) in our environment I would like to...
6
by: ad | last post by:
I have a compressed file in client. How could we send this compressed file (.zip) to server by web service?
10
by: ad | last post by:
I want to use WebServer to receive a DataSet from Client with internet. The DataSet is some bigger, there are 50 fields and about 50000 rows in it. Is it OK to do so? Will DotFrameWork or IIS...
3
by: Joseph Geretz | last post by:
I'm working on an file transfer gateway using WSE with DIME for file attachments. Our goal is to replace our direct file repository access (via windows network folder sharre) with the Web Service...
2
by: Anthony Malt | last post by:
Hi, my server has a database table. I read this table on the server into a dataset and my client retrieves it through a webservice. No changes on the client and server happen. What's the best...
11
by: E.T. Grey | last post by:
Hi, I have an interesting problem. I have a (LARGE) set of historical data that I want to keep on a central server, as several separate files. I want a client process to be able to request the...
0
by: Hari | last post by:
Hi all, I have written a web service which accepts data from multiple clients and saves the data for future processing. The size of the data that is received by the web method depends on the...
0
by: nithathomas | last post by:
Hi all, Please help me to load archive dataset back into the DB2 table: The archive dataset is in the form of a GDG which is created in the REORG job which has a delete condition. The DB2...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
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...
0
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...
0
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 ...

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.