Silverlight 3 Out of Browser Feature

No.of Views513
Bookmarked0 times
Downloads 
Votes0
By  Paru   On  16 Feb 2010 02:02:41
Tag : Silver Light and XAML , Broswer Control
Silverlight 3 Out of Browser Feature
emailbookmarkadd commentsprint

Images in this article missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at info@codegain.com

 

Introduction

The out of browser experience, is now possible with Silverlight 3. When an application is properly configured, Silverlight displays an install option on its right-click menu. You can also provide your own UI for installation to supplement or replace the right-click option. This article will focus on how to set up your application so that it can be installed and ran outside of the browser.

To begin with

•    Open Visual Studio 2008
•    Choose File > New > Project > Silverlight > Silverlight Application.
•    Right click on the project and choose Properties. You must select Enable running application out of the browser (as in the figure below). Thus enable the application to run out of the browser.

Image Loading

Configuration

To configure the out of browser settings, click the Out-of-Browser Settings button:

Image Loading

 

Image Loading

The screen above allows you to set a title, width and height, a shortcut name that the user can recognize on their desktop or start menu and an icon. The icon you add will be the icon associated with the shortcut. Click OK to save your changes.


Once you have configured your settings, an OutOfBrowserSettings.xml file is created. This is the file that will be compiled into the xap file when you deploy your Silverlight application:

Image Loading

Installation

To install the application run your project. Right click the application and choose Install Hello world! Onto this computer. This causes the following dialog box to appear, which enables the user to specify the location of the installation:

Image Loading

The application name on the right-click menu and in the dialog box corresponds to the shortcut name in the out of browser configuration. The image on the dialog box corresponds to the largest icon in the configuration. If you do not specify any icons in the configuration, the default icon is used, as shown in the example image. Once installed, navigate to the location you installed it and you can click on the icon and run the Silverlight application. Cool!

Uninstall

To uninstall the Silverlight application you must launch the application. While its running, right click and choose Remove this application:

Image Loading

Thus the client can update the application even when the internet is not connected and later it gets updated to the application on line. So from now connectivity doesn’t become a problem
Isn’t it a really cool feature?.

 
Sign Up to vote for this article
 
About Author
 
Paru
Occupation-Not Provided
Company-Not Provided
Member Type-Fresh
Location-Not Provided
Joined date-31 Jul 2009
Home Page-Not Provided
Blog Page-Not Provided
 
 
Other popularSectionarticles
Comments
There is no comments for this articles.
Leave a Reply
Title:
Display Name:
Email:
(not display in page for the security purphase)
Website:
Message:
Please refresh your screen using Ctrl+F5
If you can't read this number refresh your screen
Please input the anti-spam code that you can read in the image.
^ Scroll to Top