Page view counter

Silverlight Tips of the Day - Blog by Mike Snow

Game Programming with Silverlight

Silverlight Tip of the Day #108 – How to Create an Out of Browser Application.

Out of browser support allows Silverlight applications to run as a stand alone application out of the browser. This is especially useful if you have an application that you want to run when you are offline and unable to connect via the browser.

Configuring your Silverlight application to run out of browse is fairly straight forward in VS. To do so, follow these steps:

  1. Right click on your Silverlight project in the solution explorer and choose Properties.
  2. From the Properties window click on the Silverlight tab and check the box labeled “Enable running application of out the browser.” Next, click the Out of browser settings button as seen below.
  3. image

  4. This will bring up the Out-of-Browser Settings dialog as seen below. Fill out the fields to match your desired settings. Notice that if you do not want to use the default icon you can specify your own images. Click the OK button when you are done.

    image
  5. At this point your application supports running out of browser.
  6. To install the Silverlight application on your desktop run it and then right click on the application to invoke the context menu as seen below.
    image
  7. Choose Install SilverlightApplication…onto this computer. This will bring up a dialog that lets you choose where to install the application to.
    image
  8. At this point your application will be installed and launched in an out of browser window. Clicking on the icon (as seen below) on your desktop or start menu will automatically launch the application in a window outside of your browser.

image

Thank you,
--Mike Snow

 Subscribe in a reader

Comments

Microsoft Weblogs said:

Out of browser support allows Silverlight applications to run as a stand alone application out of the

# July 21, 2009 3:20 PM

NewsPeeps said:

Thank you for submitting this cool story - Trackback from NewsPeeps

# July 21, 2009 3:36 PM

Programming with Silverlight, WPF & .NET » Wie man eine Out-Of-Browser Applikation erstellt? said:

Pingback from  Programming with Silverlight, WPF & .NET » Wie man eine Out-Of-Browser Applikation erstellt?

# August 8, 2009 9:13 AM

NewsPeeps said:

Thank you for submitting this cool story - Trackback from NewsPeeps

# August 8, 2009 6:36 PM

scvinod said:

Will it work even in Silverlight 2????

# September 12, 2009 1:30 PM

zbwz said:

你好久没有更新了啊

# September 13, 2009 10:52 PM

DotNetBurner - Silverlight said:

DotNetBurner - burning hot .net content

# September 14, 2009 10:00 PM

code jones said:

Does setting this property mean a web server isn't necessary - the app can run on a truly stand-alone PC?

# November 3, 2009 12:38 PM

scvinod said:

Hi Mike,

       I'm not getting the Enable Out of Browser Option at all. Can you help me.

# November 30, 2009 4:11 AM

stevenjamesfrank65 said:

My SL3 project, originally created via Blend 3, does not display these out of browser settings.  Any idea why not?

# February 4, 2010 2:04 PM