Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
105
Compression on large files.
posted

Hi,

The application I am currently working on is a Silverlight OOB application (say, Application A) which generates Silverlight applications (say, Application B) dynamically. I have been using Infragistics compression library to create the XAP file dynamically.

Here is a glimpse of the structure. The resulting XAP file (XAP file for Application B) is carried around in the hosting Silverlight OOB application (Application A). The assets that go into the new XAP file (Application B) are in the user's MyDocuments folder. I have been able to use Infragistics Compression Libraray to extract the new XAP file and add the assets from user's MyDocuments folder and then produce the resultant XAP file. This process works fine.

The problem arises when large (~300MB) asset files are encountered which need to go into the output XAP file. With a couple of these files the resultant XAP file quickly becomes around 1GB. I am using byte array to compile the ZipFile. 

Am I right in saying that it is not possible to give a combination of stream input and byte array input to the ZipFile?

Is there an effective way to manage and build large ZIP files using ZipFile and ZipEntry?

-Nrupal

 

Parents Reply Children
No Data