Enterprise Library Exception Handling Application Block
The Exception Handling Application Block is a powerful framework that makes the common task of working with exceptions and changing exception handling policies simple and easy to maintain. If you are tired of seeing try/catch blocks and logging statements all throughout your exception handling code, this course will help you clean up that code! In this course we will learn how to use the Microsoft Enterprise Library's Exception Handling Application Block. We start off by learning a bit about the block and some common exception handling strategies. We will also learn how to configure the Exception Handling Block, and how to use it for common exception handling strategies such as wrapping, replacing and logging. Finally, we will cover using the block in a WCF application and learn how to create custom Exception Handlers.
Duration: 1h 17m
Level: Beginner
Released: 4/17/2012
Features:
| expand all | collapse all | Progress | Duration | |
|---|---|---|---|
Block Overview and Configuration |
|
00:22:24 | |
|
Introduction
|
|
00:55 | |
|
What is it?
|
|
01:20 | |
|
Handling Exceptions
|
|
02:59 | |
|
Don't Always Catch
|
|
01:02 | |
|
What the Block Provides
|
|
02:41 | |
|
When to Use it?
|
|
02:18 | |
|
Configuration
|
|
09:53 | |
|
Summary
|
|
01:16 | |
Simple Exception Handling |
|
00:27:43 | |
|
Introduction
|
|
01:14 | |
|
Basic Setup
|
|
08:11 | |
|
Wrapping
|
|
03:50 | |
|
Replacing
|
|
02:01 | |
|
Logging
|
|
04:24 | |
|
Using Handle Exception
|
|
03:49 | |
|
Handling Instance ID
|
|
03:28 | |
|
Summary
|
|
00:46 | |
WCF and Custom Handlers |
|
00:27:22 | |
|
Introduction
|
|
01:08 | |
|
WCF Overview
|
|
02:03 | |
|
Service Setup
|
|
03:43 | |
|
Throwing an Exception
|
|
02:33 | |
|
Enter Enterprise Library
|
|
06:14 | |
|
Running with the Block
|
|
01:13 | |
|
Mapping Values
|
|
02:25 | |
|
Creating a Custom Handler
|
|
04:23 | |
|
Using the Custom Handler
|
|
01:51 | |
|
Summary
|
|
01:49 |
Block Overview and Configuration