This is a migrated thread and some comments may be shown as answers.

Uncompress on Server Fails

13 Answers 127 Views
ZipLibrary
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 19 Sep 2011, 07:45 PM
I am compressing a string on the client (and can uncompress it on the client). Thus, I know it is working.

However, what is the appropriate technical for uncompressing the string once its been sent over to the server?
 
I am using WCF web services.

I've added a reference to Telerik.Windows.Zip but the DLL throws an error when I attempt to create the object:

 

 

 

 

 

Dim inputStream As New ZipInputStream(memStream)

Can the DLL not be used on the server side? If not, how do I uncompress the data?

-Dave

13 Answers, 1 is accepted

Sort by
0
Viktor Tsvetkov
Telerik team
answered on 22 Sep 2011, 11:36 AM
Hello Dave,

This is a Silverlight compiled dll, so it needs Silverlight runtime in order to start working.

All the best,
Viktor Tsvetkov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Dave
Top achievements
Rank 1
answered on 22 Sep 2011, 08:56 PM
How then do you recommend a compressed string being decompressed on the server side after being passed through a web service call?

-Dave
0
Viktor Tsvetkov
Telerik team
answered on 26 Sep 2011, 03:54 PM
Hello Dave,

Currently we do not support such scenarios, so I have created an item called "Zip: Add plain .NET support for Zip Library" and it will be ready for tracking and voting tomorrow. Meanwhile you can try using some of the current zip implementations for .NET framework and try to decompress your object on the server. I have updated your Telerik points.

All the best,
Viktor Tsvetkov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Peran
Top achievements
Rank 1
answered on 29 Nov 2011, 10:37 PM
Hi Viktor,

The documentation http://www.telerik.com/help/silverlight/radziplibrary-overview.html suggests that the zip dll could be used for compressing data sent over the internet, therefore decompression on the server would be required.

I assume the zip library in 'Rad Controls for WPF' is compiled form the same source as the silverlight version, so a dot net version is already available.

Visual Studio allows you to reference a Silverlight compiled dll from a dot net project, although I would suggest Telerik packaged the dot net compiled version to be installed here (C:\Program Files (x86)\Telerik\RadControls for Silverlight Q3 2011\Binaries\Silverlight\*ServerSide*)

I have successfully used the silverlight library on the server the compress/decompress byte streams.
 

Regards

Peran
0
Viktor Tsvetkov
Telerik team
answered on 02 Dec 2011, 10:21 AM
Hi Peran,

Thank you for the suggestion, our plans are the same, so you can expect a plain .net assembly to be included in the ServerSide folder for the coming Q1 2012.

Kind regards,
Viktor Tsvetkov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Peran
Top achievements
Rank 1
answered on 22 Dec 2011, 10:37 PM
Hi Viktor,

Just to let you know the plain .net assembly has *not* been included in the ServerSide folder for 
Q1.


Regards

Peran
0
Petar Mladenov
Telerik team
answered on 27 Dec 2011, 12:36 PM
Hi Peran,

 The Q1 2012 (which will provide the mentioned assembly) is scheduled for the middle of February 2012, so please stay tuned. Thank you for your patience.

Greetings,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Peran
Top achievements
Rank 1
answered on 29 Dec 2011, 12:12 PM
Sorry, I got the Dec 20 release confused with the Q1 release.


Regards

Peran
0
Nathaniel
Top achievements
Rank 1
answered on 23 Feb 2012, 04:33 PM
Did the Zip Library make the server side folder for the Q1 2012 release? 
0
Tina Stancheva
Telerik team
answered on 28 Feb 2012, 02:21 PM
Hi guys,

Unfortunately we weren't able to create a plain .net assembly for the ZIpLibrary. But we will definitely do our best to add such an assembly in the ServerSide folder for the Q1 2012 SP1 release.

Please accept our apology for this inconvenience.

Regards,
Tina Stancheva
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Luc
Top achievements
Rank 1
answered on 05 Apr 2012, 10:16 AM
Just checked the SP1 and it seems it didnt make it either.
0
Tina Stancheva
Telerik team
answered on 05 Apr 2012, 12:23 PM
Hi Luc,

We actually decided to make the Telerik.Windows.Zip.dll for WPF a plain .Net assembly so that you can use it on the server-side as well. So you can download the RadControls for WPF from your account and get the assembly from there and use it in the server-side part of your application.

All the best,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Luc
Top achievements
Rank 1
answered on 05 Apr 2012, 02:20 PM
Great, it works!!
Tags
ZipLibrary
Asked by
Dave
Top achievements
Rank 1
Answers by
Viktor Tsvetkov
Telerik team
Dave
Top achievements
Rank 1
Peran
Top achievements
Rank 1
Petar Mladenov
Telerik team
Nathaniel
Top achievements
Rank 1
Tina Stancheva
Telerik team
Luc
Top achievements
Rank 1
Share this question
or