Debugging Silverlight within a web app

When developing a Silverlight application the debugging of the app is pretty straight forward when you are working within the Silverlight solution/ project. But what about when you need to debug or “step-through the Silverlight application” from within your ASP.NET solution.  Visual Studio 2010 actually makes this quite easy to accomplish. Once you have added the Silverlight project or embedded the XAP file within your ASP.NET solution you can enable debugging of the Silverlight application by doing the following:

  1. From within the ASP.NET solution right-mouse click on the solution title nd select properties
  2. Navigate to the Web tab within the properties window
  3. Ensure that the Silverlight check box is enabled in the Debugger section
  4. Save the project properties
  5. Happy De-bugging

Enable Debug mode for Silverlight app from ASP.NET project

Advertisement

About randallC

I've been a multimedia developer for over 13 years. Within the past two years I have slowly migrated over to full time .net development with a strong interest and passion for Silverlight, WPF and C#.NET. I've been fortunate to work in a variety of different fields ranging from sports entertainment(NASCAR) to textile, nuclear, and most recently public safety software development. During this time span my love for design, coding and technology has only grown. Fitness, sports, my wife and my two dogs take up the rest of my life when I'm not plugging away on the computer.
This entry was posted in Programming, Silverlight, WPF. Bookmark the permalink.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s