Team LiB
Previous Section Next Section

Application Blocks

Overview

I have a question for you: What are the two most common things you program into every project you make? My guess is data access and error handling. It also seems as if you need to rewrite or tweak your past data access modules every time you start a new project. The same thing seems to happen with error handling code. Whatever you had before never seems to fit quite right.

You and I are not the only ones with this problem. Some bright engineers at Microsoft (along with extensive outside help) have invented some additions to your code library. They are called the Application Blocks for .NET. As of the publication date of this book there are two of them:

I have included both of these in projects, and believe me, they save quite a bit of work.

Although I covered database access in a minor way in this book, I do not intend to go over the Data Access Application Block in any detail. I do, however, cover the Exception Management Application Block enough so you can download it and use it right away. In this chapter, I show you a teaser. Both Application Blocks are fully documented and include sample code.


Team LiB
Previous Section Next Section