Freigeben über


Smaller is better! [A simple step to shrink the download size of Silverlight 2 applications]

**

This blog has moved to a new location and comments have been disabled.

All old posts, new posts, and comments can be found on The blog of dlaa.me.

See you there!

XapReZip.cmd

Comments

  • Anonymous
    July 16, 2008
    Very useful. thanks for the tips.

  • Anonymous
    July 17, 2008
    Denislav Savkov on VSM, Mino with a SL PhotoGallery, Alex Golesh on app performance, Avi Pilosof with

  • Anonymous
    July 17, 2008
    lol, this feels like the old trick of devs putting sleeps in their code so they can add a performance boost later ;) I think you may a ruined the surprise! Seriously I just used the built in compression from Vista to try to this out and saw my DeepEarth XAB go from 53KB to 42KB. Why did they use such a bad compression?

  • Anonymous
    July 17, 2008
    SoulSolutions, I like conspiracy theories as much as the next person, but I'm sure nobody deliberately used suboptimal compression. :) Rather, I imagine that the most convenient managed compression code was used because it was good enough for everyone's purpose during the early stages of development and because improving/replacing it later would be an easy, low-risk change. As this post demonstrates, in fact! I think the official XAP compression story will improve soon - and until then, I hope XapReZip can help!

  • Anonymous
    July 24, 2008
    (PT) Baseado no post do Delay acerca de como podemos reduzir o tamanho de uma aplicação Silverlight 2

  • Anonymous
    July 28, 2008
    Some much as been said about Silverlight and it's really good but sometimes we tend to forget an

  • Anonymous
    July 28, 2008
       Some much as been said about Silverlight and it's really good but sometimes we tend to forget

  • Anonymous
    July 29, 2008
    Hi there, You have provided a great piece of stuff, thanks for sharing with us. I have found a bug in it. The zipping function does not include the "ServiceReferences.ClientConfig" service configuration file even though it is included in the original xap file. I'll appreciate if you can provide the solution. Thanks

  • Anonymous
    July 29, 2008
    Got the answer, the "ServiceReferences.ClientConfig" needs to be copied to output directory. You already mentioned in your text that all the files should be in the output directory. Sorry

  • Anonymous
    July 30, 2008
    faiyazkhan, Glad to hear you got things working!

  • Anonymous
    September 10, 2008
    Comprimere il file XAP di Silverlight

  • Anonymous
    November 04, 2008
    A few months ago, I looked at the size of Silverlight 2 XAP files and blogged a simple way to reduce

  • Anonymous
    November 09, 2008
    Кто интересовался структурой и оптимизацией .XAP-файла Silverlight-приложения, в курсе, что это сжатый

  • Anonymous
    November 01, 2010
    The comment has been removed

  • Anonymous
    November 02, 2010
    Supal, I suspect that maybe the CMD file or ZIP.exe don't exist where it's expecting them to. But the good news is that the default XAP compression with the Silverlight 4 Tools is better than it used to be - and good enough that XapReZip shouldn't really be necessary any more! :)

  • Anonymous
    December 03, 2013
    Thanks for the info