Silverlight 3 Quick Tip #2: How to prepare your Silverlight 3 application offline - DevCorner

Silverlight 3 Quick Tip #2: How to prepare your Silverlight 3 application offline

Today I’ll show probably one of most expected features – taking Silverlight application offline.

To do it all you need to do is to add new section to AppManifest.xml. The section should be like following example:

<Deployment.ApplicationIdentity>
   <ApplicationIdentity ShortName="Silverlight Offline Demo" Title="Silverlight Offline Application Demo">
     <ApplicationIdentity.Blurb>This is sample application to show Silverlight 3 offline support. Created by Alex Golesh, 28 Feb 2009</ApplicationIdentity.Blurb>
     <ApplicationIdentity.Icons>
       <Icon Size="16x16">Icons/016x016.png</Icon>
       <Icon Size="32x32">Icons/032x032.png</Icon>
       <Icon Size="48x48">Icons/048x048.png</Icon>
       <Icon Size="128x128">Icons/128x128.png</Icon>
     </ApplicationIdentity.Icons>
   </ApplicationIdentity>
 </Deployment.ApplicationIdentity>

The icons section is optional – the runtime has standard icons in case you will not provide them; but if you decided to provide them, make sure your icons will be compiled as “Content” files.

imageimage image image

No sources this time :)

 

Stay tuned to more tips and enjoy,

Alex

Published Thursday, March 19, 2009 1:13 AM by Alex Golesh

Comments

# re: Silverlight 3 Quick Tip #2: How to prepare your Silverlight 3 application offline

How does security work out? I am assuming security will be the same, since Silverlight doesn't ship with any non-browser safe features...

but, wouldn't be cool if i could reflect native WPF (Sorry, 'Silver') assemblies once we were on the desktop?

Monday, March 23, 2009 6:37 PM by Todd Morrison

# Silverlight 3 Quick Tip #2: Как подготовить ваши Silverlight 3-приложения для работы оффлайн

Thank you for submitting this cool story - Trackback from progg.ru

Monday, March 23, 2009 6:39 PM by progg.ru

# re: Silverlight 3 Quick Tip #2: How to prepare your Silverlight 3 application offline

Yes, security model is the same as online SL app, except the fact you couldn't count on "previous pages" ASP.NET authorization.

Monday, March 23, 2009 6:48 PM by Alex Golesh

# re: Silverlight 3 Quick Tip #2: How to prepare your Silverlight 3 application offline

you got a little mix up:

this is not taking the app' OFFLINE!

what you are doing is taking it out-of-browser and (kind of) installing it on the desktop.

it can remain to be ONLINE = connected to a network.

Thursday, June 18, 2009 11:14 AM by shemesh

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: