Sign In|Join
Home/Silverlight.NET Forums/General Silverlight Programming/Programming with .NET - General/reducing xap size
Last post Aug 10, 2009 04:13 PM by leovernazza
Member
54 Points
48 Posts
Jul 28, 2008 02:41 PM | LINK
Hi All,
Can someone please spear some tips for reducing the .xap file size?
Thank you, Robert
Contributor
2295 Points
362 Posts
Jul 28, 2008 02:47 PM | LINK
Sure, this list is not all inclusive but here are a few things to try:
hopefully this gets you started
Jul 28, 2008 03:03 PM | LINK
Thank i'll try it!
by not including images in the xap you meen using them as a resource or using a absolute path?
Jul 28, 2008 03:06 PM | LINK
I mean using an absolute path. Let the web server host the images, that's one thing the server is good at :).
5614 Points
1057 Posts
Jul 29, 2008 08:53 AM | LINK
If you want to include your images in the xap, then, u can reduce the xap size by splitting the xap into multiple xap. After that, you can download the content from those xap's on demand.
For reference: http://silverlight.net/forums/p/18819/63937.aspx#63937
(Please click on: "Mark As Answer" if this has answered your question. Thanks)
2239 Points
382 Posts
Jul 29, 2008 09:09 AM | LINK
You might like to check out some articles and videos about loading content on demand:
http://msdn.microsoft.com/en-us/library/cc189021(VS.95).aspx
videos:
DYNAMICALLY LOADING ASSEMBLIES/CODE
ACCESSING RESOURCES FROM XAP/DLL/SITE
LOADING MEDIA AT RUNTIME
LOADING DYNAMIC XAPS AND ASSEMBLIES
hope this helps :)
Jul 29, 2008 10:56 AM | LINK
Thank you for the videos!
Aug 01, 2008 06:28 AM | LINK
I stumbled upon a blog post about reducing .xap size and thought that I would share:
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
10 Points
5 Posts
Aug 08, 2009 11:05 PM | LINK
I would just use ComponentOne XapOptimizer instead.
http://demo.componentone.com/silverlight/xapoptimizer/ (free version here) Regards
Participant
1231 Points
388 Posts
Aug 09, 2009 07:23 PM | LINK
RobHoz
Member
54 Points
48 Posts
reducing xap size
Jul 28, 2008 02:41 PM | LINK
Hi All,
Can someone please spear some tips for reducing the .xap file size?
Thank you,
Robert
Http://www.amazooz.com
johnnystock
Contributor
2295 Points
362 Posts
Re: reducing xap size
Jul 28, 2008 02:47 PM | LINK
Sure, this list is not all inclusive but here are a few things to try:
hopefully this gets you started
Microsoft Silverlight MVP and RIA Developer at Ascentium
Co-Author of Silverlight 2 in Action
RobHoz
Member
54 Points
48 Posts
Re: reducing xap size
Jul 28, 2008 03:03 PM | LINK
Thank i'll try it!
by not including images in the xap you meen using them as a resource or using a absolute path?
Http://www.amazooz.com
johnnystock
Contributor
2295 Points
362 Posts
Re: reducing xap size
Jul 28, 2008 03:06 PM | LINK
I mean using an absolute path. Let the web server host the images, that's one thing the server is good at :).
Microsoft Silverlight MVP and RIA Developer at Ascentium
Co-Author of Silverlight 2 in Action
kunal2383
Contributor
5614 Points
1057 Posts
Re: reducing xap size
Jul 29, 2008 08:53 AM | LINK
If you want to include your images in the xap, then, u can reduce the xap size by splitting the xap into multiple xap.
After that, you can download the content from those xap's on demand.
For reference: http://silverlight.net/forums/p/18819/63937.aspx#63937
(Please click on: "Mark As Answer" if this has answered your question. Thanks)
Regards - Kunal Chowdhury | My Blog | Silverlight-Zone
texmex5
Contributor
2239 Points
382 Posts
Re: reducing xap size
Jul 29, 2008 09:09 AM | LINK
You might like to check out some articles and videos about loading content on demand:
http://msdn.microsoft.com/en-us/library/cc189021(VS.95).aspx
videos:
DYNAMICALLY LOADING ASSEMBLIES/CODE
ACCESSING RESOURCES FROM XAP/DLL/SITE
LOADING MEDIA AT RUNTIME
LOADING DYNAMIC XAPS AND ASSEMBLIES
hope this helps :)
RobHoz
Member
54 Points
48 Posts
Re: reducing xap size
Jul 29, 2008 10:56 AM | LINK
Thank you for the videos!
Http://www.amazooz.com
texmex5
Contributor
2239 Points
382 Posts
Re: reducing xap size
Aug 01, 2008 06:28 AM | LINK
I stumbled upon a blog post about reducing .xap size and thought that I would share:
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
leovernazza
Member
10 Points
5 Posts
Re: reducing xap size
Aug 08, 2009 11:05 PM | LINK
I would just use ComponentOne XapOptimizer instead.
http://demo.componentone.com/silverlight/xapoptimizer/
(free version here)
Regards
pkr2000
Participant
1231 Points
388 Posts
Re: reducing xap size
Aug 09, 2009 07:23 PM | LINK