Utility: Extmap Maker

July 16, 2009

Silverlight 3 has nice feature to reduce the XAP package size of application by providing external assembly parts. To enable this feature use Silverlight project properties:


image


When this enabled, most of Microsoft assemblies will not reside inside XAP package, but as ZIP files alongside the XAP itself. The application manifest will point to those ZIP files. This will enable browser caching mechanism.


Actually, compiler “decides” which assembly will could be used as external ZIP assembly by presence of valid external map manifest file alongside assembly. I’ll not describe what is in this manifest – those, who want to know more about it could find information in very good post by Tim Heuer here.


I’m do extensive usage of this feature (because of many “infrastructure” assemblies which accompany me from project to project) and decided to build small utility for those manifest files creation.


image


Utility available for download from here.


Enjoy,


Alex

Add comment
facebook linkedin twitter email

Leave a Reply

Your email address will not be published.

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

5 comments

  1. AndrewJuly 28, 2009 ב 14:21

    Thank your for this useful utility!

    Reply
  2. Netanel KLJuly 31, 2009 ב 9:13

    Thanks for this!
    Was too lazy doing this by Tim’s instructions.

    Reply
  3. Nk54November 4, 2009 ב 11:17

    Thanks ! I m not using library caching yet because of using out of browser feature.

    But i’m sure to use it for my own project :D

    Reply
  4. firestorm353July 14, 2010 ב 21:23

    This is really useful, having just followed Tim’s guide a few moments ago (manually). I considered making a little utility like this too, but this spared me the trouble – thanks.

    Suggestion: add a switch to take in a whole directory instead of just a specific DLL

    Reply
  5. MidnitApril 6, 2011 ב 16:57

    Fantastic, thank you for sharing.

    Reply