Summary


In this chapter, you learned how to debug, trace, and monitor your ASP.NET pages and applications. In the first section, you learned how to debug ASP.NET pages at both the page and application level. You learned how to gracefully handle errors at the page level by using TRY...CATCH blocks. You also examined methods for handling errors at the application level by using the Application_OnError subroutine and configuring custom errors.

Next, you learned how to trace, log, and monitor your ASP.NET pages and applications. You learned how to enable tracing for both individual pages and entire ASP.NET applications and use the process model to automatically shut down misbehaving ASP.NET applications. You also examined how to log events in an ASP.NET page to the standard server event logs and monitor the performance of an ASP.NET application by using performance counters.

In the last section, you looked at the visual debugger included with the .NET framework. You learned how to use the debugger to create breakpoints and watches and step through an executing ASP.NET page line-by-line .



ASP.NET Unleashed
ASP.NET 4 Unleashed
ISBN: 0672331128
EAN: 2147483647
Year: 2003
Pages: 263

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