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

David Hayden [MVP C#]

         .NET Tutorials, Patterns, and Practices

Unity 1.1 Released and Included in Enterprise Library 4.0

Nothing scarier than hearing about Unity 1.1 being released after Enterprise Library 4.0, but rest assured Unity 1.1 is included with Enterprise Library 4.0.

Unity 1.1 fixes a few bugs and has other enhancements:

  • Removal of all obsolete ObjectBuilder code.
  • Fix for a bug when using lifetime managers with open generic types.
  • Fix for a bug where the RegisterType method was overriding the RegisterInstance method.
  • Performance improvement when resolving singletons.
  • Exposure of some additional internal classes as public to make it easier write extensions that need to resolve dependencies in a customized way.
  • Addition of try...catch blocks to improve the error messages returned when value resolution fails.

You can download Unity 1.1 here.

More importantly, however, I had a chance to play with Enterprise Library 4.0 and Unity this evening and created a tutorial that shows you how to use Unity with the Data Access Application Block:

The other application blocks work similarly so hopefully the tutorial gives you an idea on how it all works.

 



Check out Devlicio.us!

This Blog

Syndication

News

CodeBetter.Com Home