The Silverlight application is by default configured to run inside the browser, but you can configure it to run in Out of Browser mode. And when you debug Silverlight Out of Browser application by default it will be launched in browser, the debugging can also be configured to occur in Out of Browser application window instead of browser. In this article first we will see how to enable Silverlight application to run Out of Browser and then we will walk through step by step to configure debugging in Out of Browser application window.Configure Application to run in Out Of Browser mode: Create projectCreate Silverlight Application project Enable Out Of BrowserRight click on Silverlight project and select Properties. From the properties window select Silverlight tab and check the "Enable running application out of browser" checkbox.At this point your application is enabled to run Out Of Browser. Run the applicationI have added a button and a textbock in MainPage. Once the application is launched in browser, right click on it you will get option to install this application in your computer. Configure Application to debug in Out Of Browser window:Here are the steps to enable Out of Browser debugging. Change project propertiesRight click on Silverlight project and select Debug tab from the project properties. Select "Out-of-browser application" radio button to enable Out of Browser debugging. Set startup projectRight click on Silverlight project and select "Set as Startup project". Run the application and debugOnce all configurations are completed run this application. The application will be launched in Out of Browser window. Now you can start debugging you application. To test debugging you my put break point in Debug button click event and then when you click on button the control will stop at you breakpoint.In this article we have seen how we can configure Silverlight application to run Out of Browser and debug when application is launched in Out of Browser window.
Now you can start debugging you application. To test debugging you my put break point in Debug button click event and then when you click on button the control will stop at you breakpoint.In this article we have seen how we can configure Silverlight application to run Out of Browser and debug when application is launched in Out of Browser window.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: