Sponsored By Aspose - File Format APIs for .NET

Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!

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.

This entry was posted in Featured. Bookmark the permalink. Follow any comments here with the RSS feed for this post.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>