Visual Studio.NET

I l @ ve RuBoard

If you are developing with Visual Studio.NET, its integrated debugger will allow you to step through your ASP.NET application, including all components and Web controls, as it executes on your server. To configure your project for debugging, make sure you complete a few steps first. However, after this is done, you will find that debugging with VS.NET is definitely the way to go, and something that has long been lacking from ASP development tools.

The first step to getting your project ready to use the Visual Studio.NET debugger is to make sure your web.config file has an element for compilation debug mode that is set to true, as in Listing 13.10.

Listing 13.10 The web.config settings to enable debugging.
 <compilation debugMode="True" /> 
I l @ ve RuBoard


Asp. Net. By Example
ASP.NET by Example
ISBN: 0789725622
EAN: 2147483647
Year: 2001
Pages: 154

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net