How to convert a Silverlight application to out-of-browser application?

SheoNarayan
Posted by in Silverlight category on for Beginner level | Points: 250 | Views : 8642 red flag

In this article, we are going to learn how to work with Out-of-browser application in Silverlight.

Out-of-browser application

Out-of-browser application is a Silverlight application that can be installed from the running Silverlight application in the browser to the local computer.

After installation, it can be run from the local machine by clicking its icon rather than launching from browser as if it is a desktop application.

This article is the continuation of my last article in Silverlight controls series, read last article here.

Get 500+ ASP.NET web development Tips & Tricks and ASP.NET Online training here.

How to convert a Silverlight application to out-of-browser application?

Any Silverlight application can be converted to Out-of-browser application by following below steps

  •  Setting Out-of-browser related application properties of the Silverlight project in Visual Studio


Clicking on Out-of-Browser Settings button opens up following icon

Settings in above dialogue box allows us to specify different icons for this application that displays when it is installed on the machine.

Clicking OK creates OutOfBrowserSettigs.xml file in the project’s Properties folder.

After setting properties, we can install the application by right clicking from the browser (run the application and right click).

Clicking on “Install……” menu gives dialogue box something like below.

Clicking on Install button, installs the application on the computer.

Clicking the icon from the Start menu runs the application like this.

To uninstall out-of-browser application, right clicking the application in the browser (run in the browser) and click on “Remove this application …” menu.

The same can be done by going to Control Panel > Programs and Features as well.

Hope this article was useful. Thanks for reading and hoping that you liked it.

Keep an eye on forth coming articles on Silverlight. To read my series of articles, click here.

Page copy protected against web site content infringement by Copyscape

About the Author

SheoNarayan
Full Name: Sheo Narayan
Member Level: HonoraryPlatinum
Member Status: Administrator
Member Since: 7/8/2008 6:32:14 PM
Country: India
Regards, Sheo Narayan http://www.dotnetfunda.com
http://www.snarayan.com
Ex-Microsoft MVP, Author, Writer, Mentor & architecting applications since year 2001. Connect me on http://www.facebook.com/sheo.narayan | https://twitter.com/sheonarayan | http://www.linkedin.com/in/sheonarayan

Login to vote for this post.

Comments or Responses

Login to post response

Comment using Facebook(Author doesn't get notification)