PacktLib: Microsoft Enterprise Library 5.0

Microsoft Enterprise Library 5.0

Credits

About the Author

Acknowledgement

About the Reviewers

Preface

Getting Started with Enterprise Library

Introducing Enterprise Library

Wiring Application Blocks

Functional Application Blocks

Functional Application Block Dependency

System requirements

Installing Enterprise Library

Summary

Data Access Application Block

Working of Data Access Application Block

Developing an application

Retrieving records using ExecuteReader

Retrieving records using DataSet

Retrieving a record as an object

Retrieving multiple records as an object collection

Retrieving records as XML

Executing a command using ExecuteNonQuery

Retrieving scalar values

Updating records using DataSet

Working with transactions

Summary

Logging Application Block

Developing an application

Exploring design elements

Summary

Exception Handling Application Block

Developing an application

Wrapping an exception using Wrap handler

Replacing an exception using Replace handler

Logging an exception using Logging handler

WCF fault contract exception handler

Implementing custom exception handler

Summary

Caching Application Block

Developing an application

Reloading expired items

Configuring Isolated Cache Storage Backing Store

Configuring Database Cache Storage

Configuring and encrypting cached data

Summary

Validation Application Block

Validation Application Block features

Developing an application

Understanding Validators

Understanding Rule Sets

Understanding ValidatorFactory

Understanding ValidationResults

Validating objects using attributes

Validating values programmatically

Validating objects using self-validation

Validating objects using configuration

Integrating with Windows Forms-based applications

Integrating the Validation block with ASP.NET

Implementing a Custom Validator

Summary

Security Application Block

Developing an application

Implementing a custom Authorization Provider

Summary

Cryptography Application Block

Developing an application

Working of Hash Provider

Working of symmetric cryptography providers

Summary

Index