Debugging ASP.NET focuses on the various tools, techniques, and best practices associated with debugging ASP.NET web applications under Microsoft's new .NET platform. Brief descriptions of the problems with debugging previous versions of ASP are covered, as well as how the new features of ASP.NET can be exploited to their fullest to find and eliminate bugs quickly and easily. The book introduces changes to the code structure paradigm as implemented in the .NET platform, and how to structure ASP.NET code in this new paradigm to enable faster web application debugging.
Click below for Sample Chapter related to this title:
(NOTE: Each chapter concludes with a Summary.)
I. ASP DEBUGGING BASICS.1. Conceptual Framework.
Understanding Server-Side Events. New Language Options.2. Traditional Approaches to Debugging in ASP
Structure of Pre-ASP.NET Pages. Problems and Shortcomings. Old Strategies That Still Do the Job Well. An ASP Debug Object.3. Debugging Strategies.
Tier Sandboxes. Divide and Conquer. Simple Before Complex. Turtle Makes the Wiser.4. Code Structure That Eases Debugging.
Code Partitioning. Control-of-Flow Guidelines. Structured Exception Handling. Global Exception Handling.
II. ASP.NET DEBUGGING TOOLS.5.Conditional Compiling.
What Is Conditional Compiling? Other Preprocessor Directives.6. Tracing.
Configuration. Trace Output. Setting Trace Messages. Trace Viewer. Tracing via Components. Tips for Using Trace Information.7. Visual Studio .NET Debugging Environment.
Introduction to Features. Attaching to Processes. Setting It All Up Inline Debugging of ASP.NET Pages. Inline Debugging of Components. Remote Debugging.8. Leveraging the Windows 2000 Event Log.
The Windows 2000 Event Log Defined. Web Applications Can Use the Event Log. The System.Diagnostics Event Log Interface. Custom Event Logs Handling Different Types Of Events. Access Event Log Data via the Web.
III. DEBUGGING THE NEW ASP.NET FEATURES.9. Debugging Server-Side Controls.
Creating the Project. Debugging the Control.10. Debugging Data-Bound Controls.
Data-Bound Controls. Debugging Templates. Namespace Issues. XML Binding.11. Debugging User Controls User Control Basics.
Adding Properties and Methods. Dynamic User Controls.12. Caching Issues and Debugging.
Output Caching. The Caching API.
IV. DEBUGGING RELATED TECHNOLOGIES.13. Debugging Web Services.
Web Services Stumbling Blocks. Error Messages. Problems Working with XMLSerializer. Working with Errors in SOAP. Error Returning Certain Types of Data. Working with Streams. Tools. Basic Web Services Debugging Problems Deploying Your Web Service?14. Debugging .NET Components and HttpHandlers.
The Component. Interfaces. HttpHandlers. State-Management Issues. .NET Components Versus Registered COM Components.15. COM+ Issues.
Role-Based Security. Transaction Issues.16. Debugging ADO.NET.