Compressing XAML to save on file size

Posted on February 1, 2008
Filed Under 1.0 Javascript, Design | Leave a Comment

Silverlight is great at being able to use vector art work so that you maintain quality at any viewing size. The problem is sometimes vector artwork can actually get larger in file size than raster images. To save on bandwidth, a good strategy for optimizing Silverlight is to create a skeleton XAML file with a basic loader, you would then have all of your layout XAML, images, fonts within a ZIP file. This would then provide a dual benefit.

  1. It gives you a way to have a preloader for an entire Silverlight application that would show up almost instantly upon loading the page.
  2. It also has the potential of compresses XAML code into 1/3 the file size.

[view example] [download source]

Recently


Categories


Archives