Learn Enterprise Library 6 and Unity 3 with newly released hands-on labs

clip_image001Download full set of Hands-on Labs for Enterprise Library 6


clip_image001[1]Download Unity 3 Hands-on Labs only


This release complements the recent releases of Enterprise Library 6 and Unity 3.

The comprehensive labs were created by developers for developers. They will be useful both to those who are new to Enterprise Library and those who are experienced with previous versions of Enterprise Library and would like to learn the new application blocks.

The labs will guide you through common scenarios of using EntLib and Unity in various application contexts, including advanced ones. They should help reduce errors and promote faster skill acquisition.

The labs may also be of value to trainers and academics, since they can be used as teaching aids in the classes devoted to Enterprise Library specifically or in courses on Component-Based Software Engineering, Code Re-use, Enterprise Application Development, or Aspect-Oriented Programming.

We encourage you to experiment with the sample code and think beyond the scenarios discussed in the labs.

Inside this set are 46 labs covering:

Data Access:

− Lab 1: Dynamic SQL with the Data Access Application Block

− Lab 2: Stored Procedures and Updates with the Data Access Application Block

− Lab 3: Encrypting Connection Information

− Lab 4: Retrieving data using Data Accessors with the Data Access Application Block

− Lab 5: Performing asynchronous data access with the Data Access Application Block

Exception Handling:

− Lab 1: Logging Exceptions

− Lab 2: Exception Handling Strategies

Transient Fault Handling:

− Lab 1: Using the Transient Fault Handling Application Block

− Lab 2: Using the Transient Fault Handling Application Block Asynchronously


− Lab 1: Add Logging to an Application

− Lab 2: Create and Use an Asynchronous Trace Listener

− Lab 3: Reconfigure Logging at Run Time

− Lab 4: Create and Use a Custom Trace Listener

− Lab 5: Create and Use a Custom Log Formatter

Semantic Logging:

− Lab 1: Creating and Using an Event Source

− Lab 2: Sending Event Messages to Windows Azure Storage

− Lab 3: Testing an Event Source

Data Validation:

− Lab 1: Adding Validation

− Lab 2: Consuming Validation Results

− Lab 3: Validating Object Graphs

− Lab 4: Using Custom Message Templates for Validation Failures

− Lab 5: Specifying Validation Rules Through Configuration

− Lab 6: Using Rule Sets

− Lab 7: Integrating with Windows Forms

− Lab 8: Implementing Self Validation

− Lab 9: Implementing a Custom Validator

− Lab 10: Using a Custom Validator Through Configuration

− Lab 11: Implementing a Custom Validator with Design-Time Support

− Lab 12: Integrating with ASP.NET

− Lab 13: Integrating with WCF

− Lab 14: WPF Integration


− Lab 1: Using a Unity Container

− Lab 2: Configuring Injection Using the Configuration API

− Lab 3: Using a Configuration File to Set Up a Container

− Lab 4: Configuring Containers

− Lab 5: Integrating with ASP.NET and Child Containers

− Lab 6: Integrating with ASP.NET MVC and Registration by Convention


− Lab 1: Set Up Interception by Using the Stand-alone Interception API

− Lab 2: Use a Unity Container to Perform Interception

− Lab 3: Use Interface Interception

− Lab 4: Set Up Interception Using the Configuration File

− Lab 5: Create a Custom Interception Behavior

− Lab 6: Set Up Policy Injection Using Attributes

− Lab 7: Set Up Policy Injection Using the Streamlined Interception Configuration API

− Lab 8: Set Up Policy Injection Using the Configuration File

− Lab 9: Implement a Custom Call Handler

− Lab 10: Use the Policy Injection Application Block to Perform Interception

Don’t forget about additional learning resources available:

clip_image002Dependency Injection with Unity

clip_image002[1]Developer’s Guide to Enterprise Library, 2nd edition (preview available here; final version to be published in Oct 2013)

Happy learning!