Uncompress on Server Fails

14 posts, 0 answers
  1. Dave
    Dave avatar
    17 posts
    Member since:
    Jul 2005

    Posted 19 Sep 2011 Link to this post

    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

  2. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 22 Sep 2011 Link to this post

    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 >>

  3. Dave
    Dave avatar
    17 posts
    Member since:
    Jul 2005

    Posted 22 Sep 2011 Link to this post

    How then do you recommend a compressed string being decompressed on the server side after being passed through a web service call?

    -Dave
  4. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 26 Sep 2011 Link to this post

    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 >>

  5. Peran
    Peran avatar
    15 posts
    Member since:
    Sep 2010

    Posted 29 Nov 2011 Link to this post

    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
  6. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 02 Dec 2011 Link to this post

    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 >>

  7. Peran
    Peran avatar
    15 posts
    Member since:
    Sep 2010

    Posted 22 Dec 2011 Link to this post

    Hi Viktor,

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


    Regards

    Peran
  8. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 27 Dec 2011 Link to this post

    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 >>

  9. Peran
    Peran avatar
    15 posts
    Member since:
    Sep 2010

    Posted 29 Dec 2011 Link to this post

    Sorry, I got the Dec 20 release confused with the Q1 release.


    Regards

    Peran
  10. Nathaniel
    Nathaniel avatar
    68 posts
    Member since:
    Nov 2010

    Posted 23 Feb 2012 Link to this post

    Did the Zip Library make the server side folder for the Q1 2012 release? 
  11. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 28 Feb 2012 Link to this post

    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 >>
  12. Luc
    Luc avatar
    12 posts
    Member since:
    Dec 2007

    Posted 05 Apr 2012 Link to this post

    Just checked the SP1 and it seems it didnt make it either.
  13. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 05 Apr 2012 Link to this post

    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 >>

  14. Luc
    Luc avatar
    12 posts
    Member since:
    Dec 2007

    Posted 05 Apr 2012 Link to this post

    Great, it works!!
Back to Top