O'Reilly logo

Developer's Guide to Microsoft® Enterprise Library, Visual Basic® Edition by Fernando Simonazzi, Bob Brumfield, Grigori Melnik, Nicolas Botto, Chris Tavares, Erik Renaud, Alex Homer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B. Dependency Injection in Enterprise Library

This appendix discusses some of the more advanced topics that will help you to obtain the maximum benefit from Enterprise Library in terms of creating objects and managing the dependency injection container. It includes the following:

  • Loading configuration information into a Unity container

  • Viewing the registrations in the container

  • Populating entire object graphs at application startup

  • Maintaining a reference to the container in request-based applications

  • Using an alternative service locator or dependency injection container

These topics provide information about how you can use the more sophisticated dependency injection approach for creating instances of Enterprise Library objects, as described ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required