Upto Silverligth 2.0 silverlight application can only run inside the browser but from Silverlight 3.0 Silverlight applications can run without browser also and can save the data in the DB without browser.
In Silverlight 3.0 you can also store the data even if the newwork connection id not available in the user’s machine
For all these above activity developer needs to do some setting …..
1. Right Click on the Silverlight Project –>Select Properties
2. Check the Enable Runnning application Out-of-browser Chek box(It will enable the
Out-of-Browser-Setting button
3. Click on the Out-of-Browser-Setting, It will show you a pop-up window
4.Set the
window-Title ( Title of window)
Short-cut Name( short-cut to lunch window)
Application Name (Name of the application)
Browse the image (for the icon of the application in client machine)
5. Click “OK”
After this developer will found a file names OutOfBrowserSettings.xml inside theProperties folder of the appication . Inside this file you will find all the information you have added during the Out-of-Browser setting like
For Out-of-Browser functionality:
<OutOfBrowserSettings ShortName="Out-Of-Browser Application" EnableGPUAcceleration="False" ShowInstallMenuItem="True"> <OutOfBrowserSettings.Blurb>Out-Of-Browser Application on your desktop; at home, at Work or on the go.</OutOfBrowserSettings.Blurb> <OutOfBrowserSettings.WindowSettings> <WindowSettings Title="Out-Of-Browser Application" /> </OutOfBrowserSettings.WindowSettings> <OutOfBrowserSettings.Icons>
<Icon Size="16,16">Image/Chrysanthemum.png</Icon>
<Icon Size="32,32">Image/Chrysanthemum.png</Icon>
<Icon Size="48,48">Image/Chrysanthemum.png</Icon>
<Icon Size="128,128">Image/Chrysanthemum.png</Icon> </OutOfBrowserSettings.Icons> < /OutOfBrowserSettings>
Then at the end user side
1.Right click the on the silverlight part of the browser.
2.Click on the install (application name) on this computer then a pop-up window will come.
3. Select any/both option chcekbox (Start menu, desktop) it will install the application in user machine then run the application by double click on the desktop icon (if you have select dsktop in step 2) .You will find whatever you were found inside the browser.