Robust ASP.NET Exception Handling

Robust ASP.NET Exception Handling
Author: Lee Dumond
Publisher: John Wiley & Sons
Total Pages: 86
Release: 2010-11-17
Genre: Computers
ISBN: 1118035461


Download Robust ASP.NET Exception Handling Book in PDF, Epub and Kindle

This Wrox Blox will teach you how to unravel the mysteries of exception handling in ASP.NET. First, you’ll get a thorough introduction to structured exception handling in the .NET Framework, learn about the Exception class, the related C# language constructs, and how exceptions propagate up the call stack. Then, you’ll delve into a variety of practical topics such as: when, where, and how to properly throw, catch, and handle exceptions in your code; how to employ “defensive programming” techniques to avoid triggering the most common CLR exceptions; adopting exception handling “best practices,” handling exceptions from rich ASP.NET server controls, data-bound controls, data sources, and AJAX asynchronous postbacks; and processing unhandled exceptions at both the page and application levels. The author also walks you through the building of a complete, reusable, and fully configurable ASP.NET exception processing framework that extends far beyond ASP.NET’s built-in error handling capabilities. You’ll learn how to collect information about the state of the application when the exception occurred; how to leverage various ASP.NET state-handling mechanisms such as Application, Context, Session, ASP.NET Cache, cookies, and query strings to store and pass error data; create a friendly, informative, and highly functional custom error UI; show friendly error messages to “normal” visitors, while showing detailed error reports only to site managers based on authentication, authorization, or IP; provide a way for users to add their own information to error reports; persist errors to the Windows Event Log, XML files, or a custom database; send detailed error notifications via e-mail and SMS text; and build an administrative dashboard to list, sort, page, view, and manage error logs. Once complete, you’ll learn how to quickly and easily add this new framework to any web site you create using a simple .NET assembly. A complete sample application and C# source code for the exception processing framework are available as a companion download.


Robust ASP.NET Exception Handling
Language: en
Pages: 86
Authors: Lee Dumond
Categories: Computers
Type: BOOK - Published: 2010-11-17 - Publisher: John Wiley & Sons

GET EBOOK

This Wrox Blox will teach you how to unravel the mysteries of exception handling in ASP.NET. First, you’ll get a thorough introduction to structured exception
Robust ASP.NET Exception Handling
Language: en
Pages:
Authors: Lee Dumond
Categories: Active server pages
Type: BOOK - Published: 2009 - Publisher:

GET EBOOK

Annotation This Wrox Blox will teach you how to unravel the mysteries of exception handling in ASP.NET. First, youll get a thorough introduction to structured e
Developing Web Applications with ASP.NET and C#
Language: en
Pages: 448
Authors: Hank Meyne
Categories: Computers
Type: BOOK - Published: 2002-09-18 - Publisher: John Wiley & Sons

GET EBOOK

Learn how to create the basic, dynamic, and advanced ASP.NET pages in C# Packed with tips, tricks, and workarounds, this book covers every aspect of developing
Programming Microsoft ASP.NET 4
Language: en
Pages: 1444
Authors: Dino Esposito
Categories: Computers
Type: BOOK - Published: 2011-02-15 - Publisher: Pearson Education

GET EBOOK

Completely reengineered for ASP.NET 4—this definitive guide deftly illuminates the core architecture and programming features of ASP.NET 4 in a single, pragma
Professional ASP.NET 3.5
Language: en
Pages: 1410
Authors: Bill Evjen
Categories: Computers
Type: BOOK - Published: 2011-01-11 - Publisher: John Wiley & Sons

GET EBOOK

In this book, you’ll be introduced to the features and capabilities of ASP.NET 3.5, as well as the foundation that ASP.NET provides. Updated for the latest re