Tom Hollander's (old) blog

Now blogging at

Dependency Injection coming in EntLib v4

Dependency Injection coming in EntLib v4

  • Comments 4

Just a quick note in case you missed Grigori's announcement on the patterns & practices team's plan to focus on Dependency Injection in the upcoming release of Enterprise Library, now apparently known as v4 (not v3.5 as announced previously). If you have any wish lists please provide them directly to Grigori or on the CodePlex site.

My personal vote is to integrate this deeply with the Policy Injection Application Block, allowing for dependency and policy injection in one fell swoop, for example:

IMyService = PolicyAndDependencyInjection.GetMeAFullyConstructedAndPolicyEnabledInstanceOf<IMyService>();

Time will tell if that's what we'll get. But I'm paying a visit to Grigori and the team in Redmond next week, so hopefully I'll get a better picture of what they are planning very soon!

  • Enterprise Library 4.0 Tom Hollander&#39;s blog has just release a post about Dependency Injection coming

  • Tom,

    This is excellent. I am a long-time (in software terms anyway) user of the Castle Project's work.

    How would you relate V4 (and I realize you might not be able to say too much) with the current state of Castle?


    Damon Carr, CTO


  • It sounds very similar to Spring Framework's Application Context, doesn't it?

  • I think the important thing is the cmmunity has another alternative. I think this is good for all.


Page 1 of 1 (4 items)