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:
- From within the ASP.NET solution right-mouse click on the solution title nd select properties
- Navigate to the Web tab within the properties window
- Ensure that the Silverlight check box is enabled in the Debugger section
- Save the project properties
- Happy De-bugging
Advertisement
