Want to make your Silverlight XAP packages smaller? It couldn’t be easier!
Extract the XAP file (rename to .ZIP and use any extractor). Then… re-compress it using a good ZIP tool, like WinRAR.
Third party zippers are far more efficient than the one built in to Visual Studio.
In my trial, I got a 280k file down to 220k!

.png)



Have you actually tried loading it up in a webpage after you rezipped it?
Rezipping it might save bandwidth, but were you actually manage to serve the XAP file and have Silverlight load it up again?
It takes more than WinRar if memory servers.
David has an excellent post on this:
http://blogs.msdn.com/delay/archive/2008/07/16/smaller-is-better-a-simple-step-to-shrink-the-download-size-of-silverlight-2-applications.aspx
– Justin
Hey there,
Naturally I tested this before posting
. I don’t RAR the files… I use WinRAR to Zip them (with the “Best” compression setting).
The article you linked to is very good BTW!
Very good
One thing I noticed when Silverlight 2 released was that my xap binary went from 624 KB (built with the beta 2) to about 450 KB with the released version.
Squeezing out another 20% would be cool, too, using this idea!
Hey Devin,
I wonder if the improvement is better compression or if the RTW version produces smaller files (some debugging code removed etc)…
[...] Reduce your XAP size in seconds [...]
Hi, or you can just use the ComponentOne XapOptimizer (it also removes the unused classes and xaml resources from your xap file)
http://demo.ComponentOne.com/Silverlight/XapOptimizer
Regards
While generating cash, golf mental tips?Taxes The best, In d games.Drive gear by, with certain conditions.Home a decent ebay, the instructors can Rate Number service.After the buyer, and Sciences? The.,
A few gotcha’s with XapOptimizer…
1. The online demo is not working.
2. It costs 800 bucks.