CELEBRATE EARTH WEEK
Save 70% on video training and simulators now through April 27*—use code EARTH. Shop now.
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.
Understanding the System.Data Namespace. Catching SQL Errors New Connection Components. Issues with the DataReader Class. Working with Transactions. Error Codes and How to Debug Them. Common Pitfalls. SQL ADO.NET Objects Versus OleDb ADO.NET Objects.
V. APPENDIX.Appendix A. Issues That Arise When Migrating from ASP to ASP.NET.
Moving from ASP to ASP.NET. Moving from VBScript to Visual Basic. Opting for C#.Index.