CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

David Hayden [MVP C#]

         .NET Tutorials, Patterns, and Practices

Enterprise Library 4.0 DAAB with Unity Screencast

Enterprise Library 4.0 ScreencastI received a few requests for a screencast to go along with my tutorial:

so I went ahead and cooked one up:

The screencast walks you through creating a console application that uses the Enterprise Library 4.0 Data Access Application Block for use with Unity. I show how to obtain database classes using Unity.Resolve<Database> as well as how to inject the database classes into your custom classes ( CustomerDAO in this case ).

I discuss a couple of the Unity Extension Classes, EnterpriseLibraryCoreExtension and DataAccessBlockExtension, and jump into Reflector to show you what the DataAccessBlockExtension is doing behind the scenes.

You might want to take a peek at my article on the DatabaseConfigurationView Class to get more information on how the DataAccessBlockExtension gets access to the Data Access Application Block Configuration Information to populate the UnityContainer:

 

I hope the screencast is useful. Feel free to browse through any of the other screencasts as well.


Published May 20 2008, 03:44 PM by David Hayden
Filed under:

Check out Devlicio.us!

Our Sponsors

Free Tech Publications

This Blog

Syndication

News

CodeBetter.Com Home