Tracing, Logging, and Error Handling
No software can run free from error, and ASP.NET applications are no exception. Sooner or later your code will be interrupted by a programming mistake, invalid data, unexpected circumstances, or even hardware failure. Novice programmers spend sleepless nights worrying about errors. Professional developers recognize that bugs are an inherent part of software applications and code defensively, testing assumptions, logging problems, and writing error-handling code to deal with the unexpected.
KeywordsVisual Studio Exception Handler Error Handling Trace Information Catch Statement
Unable to display preview. Download preview PDF.