Silverlight: Debug Out Of Browser application

Why would you need to debug Silverlight applications running out of the browser? One reason is to test applications that use Elevated Trust. Let us see how simple it is to debug applications running out of the browser.

Right click the project in Solution Explorer > Properties > Silverlight tab. Make sure the ‘Enable running application out of the browser’ is checked

image

If you go to the Debug tab, you will observe that the ‘Out-of-browser application’ radio is already selected for you

image

That’s it. Set a breakpoint, run the application and step through the code.

image



Will you give this article a +1 ? Thanks in advance


About The Author

Suprotim Agarwal
Suprotim Agarwal, ASP.NET Architecture MVP (Microsoft Most Valuable Professional) works as an Architect Consultant and provides consultancy on how to design and develop Web applications.

Suprotim is also the founder and primary contributor to DevCurry, DotNetCurry and SQLServerCurry. He is the Editor of a Developer Magazine called DNC Magazine. He has also written two EBooks 51 Recipes using jQuery with ASP.NET Controls. and The Absolutely Awesome jQuery CookBook

Follow him on twitter @suprotimagarwal

1 comment:

teroapex said...

Great read! I wish you could follow up to this topic

clomid