Quantcast
Channel: Rénald Nollet - Blend 3.0
Viewing all articles
Browse latest Browse all 6

Enabling offline feature of Silverlight 3 : Home Loan Application V 0.2

$
0
0

It's so easy to enable the offline feature of Silverlight 3 ! J

In Visual Studio, just go to your project properties. In the Silverlight tab, you'll find an "enable running application out of the browser".

If you check the checkbox, the button « Out-of-Brower Settings » will be enabled.

Clicking on this button, you'll find this dialog screen:

This is where you can customize the settings for the offline application:

  • The title, width and height of the windows.
  • The name of the shortcut.
  • A description that will become the comment property of the shortcut (on windows).
  • Different size icons. Pay attention, the icons must be in PNG format.
  • A checkbox to use or not the GPU acceleration.

Here is the resulting OutOfBrowserSettings.xml in the case of my Home Loan Application :

<OutOfBrowserSettingsShortName="Home Loan Calculator"EnableGPUAcceleration="False"ShowInstallMenuItem="True">

<OutOfBrowserSettings.Blurb>HomeLoanCalculator Application on your desktop; at home, at work or on the go.OutOfBrowserSettings.Blurb>

<OutOfBrowserSettings.WindowSettings>

<WindowSettingsTitle="Home Loan Calculator Application" />

OutOfBrowserSettings.WindowSettings>

<OutOfBrowserSettings.Icons>

<IconSize="16,16">Images/Icon16.pngIcon>

<IconSize="32,32">Images/Icon32.pngIcon>

<IconSize="48,48">Images/Icon48.pngIcon>

<IconSize="128,128">Images/Icon128.pngIcon>

OutOfBrowserSettings.Icons>

OutOfBrowserSettings>

This file is saved in the Properties folder of my project.

In Blend 3.0 RC, it's also possible to enable the offline feature in this menu path :

Project > Silverlight Project Options > Enable Application Outside Browser

But I don't see where the settings (icons, window title, …) are.

To test the offline feature describe in this post for my Home Loan Application, go there : http://www.renaldnollet.com/samples/HomeLoanSL3V0_2/

See you!

 


Viewing all articles
Browse latest Browse all 6

Trending Articles