Chapter 42. Debugging Web Applications
WHAT'S IN THIS CHAPTER?
Enabling and viewing ASP.NET trace logs for an individual web page or the entire application
Configuring Health Monitoring so that you are notified as soon as a problem occurs in an ASP.NET application
With Visual Studio 2010, debugging solutions for the Web is just as straightforward as doing the same for Windows-based applications. You can use most of the same debugging windows already discussed in previous chapters, as well as deal with errors through the Exception Assistant. However, there are some differences and additional features specific to web applications that you can use to target your debugging practices more closely to the web paradigm.
In addition to the standard debugging techniques, ASP.NET also provides you with a comprehensive tracing capability, and even the capability to perform health monitoring on your system to ensure it is running in the manner you expect, and exposing problematic scenarios when it doesn't.
If you are using Windows Vista or Windows 7 with UAC, and you use IIS rather than the built-in web development server for debugging, then you must launch Visual Studio with administrator rights. Right-click the Visual Studio 2010 shortcut and select Run as Administrator. To always launch as administrator, right-click the shortcut and select Properties, and then select the Compatibility ...