Saturday, March 05, 2011

Book Review: Dependency Injection in .NET

This isn't so much a review as just a note that I read Dependency Injection in .NET by Mark Seemann and found it pretty helpful in clearing up some of my confusions about dependency injection frameworks.

I already was aware of the basics of constructor injection, but was experiencing some pain around problems like constructor over-injection and lots of 1-1 mapping between interfaces and implementations. This book explores ways to fix these issues and many others.

Here are some topics the book covered that I really appreciated:

  • DI patterns, including the different types of injection, and Ambient Context
  • DI antipatterns, including Service Locator
  • DI refactorings, including Abstract Factory and dealing with cyclic dependencies
  • Object composition, including implementing the composition root for common types of .NET applications
  • Interception

I particularly liked the way the Interception chapter went over Decorators and how to configure them, and then moved into how to implement and configure interception.

7 comments:

  1. Thank you for the exciting blog posting! I really enjoyed reading it, you might be a brilliant writer. When i added your site to my favorites all of which will look forward for additional updates.Congrats,Keep writing..

    ReplyDelete
  2. I will remember it, a debt of gratitude is in order regarding imparting the data,. free amazon gift card code

    ReplyDelete
  3. I see it's helpful post from various aspects.

    ReplyDelete
  4. This blog is so nice to me. I will continue to come here again and again. Visit my link as well. Good luck
    http://www.jualobataborsiherbal.com/ obat aborsi
    http://www.jualobataborsiherbal.com/cara-menggugurkan-kandungan/ cara menggugurkan kandungan
    http://obataborsi59.com/ obat aborsi
    http://obataborsi59.com/cara-menggugurkan-kandungan-dengan-cepat-dan-aman/ cara menggugurkan kandungan
    http://obattelatdatangbulan.info/ obat telat datang bulan
    http://klinikobataborsi.com/ jual obat aborsi
    http://jualobatpenggugurkandungan.net/ obat penggugur kandungan
    http://tandatandakehamilan.net/ tanda tanda kehamilan

    ReplyDelete