<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Unity + EntLib = ?</title><link>http://blogs.msdn.com/tomholl/archive/2008/02/02/unity-entlib.aspx</link><description>If you've been following Grigori Melnik's blog , you'll know a bit about Unity , the new Dependency Injection container that's coming in Enterprise Library 4.0. Unfortunately I won't be able to make it to the Unity Extensibility Workshop later this month</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Unity + EntLib = ?</title><link>http://blogs.msdn.com/tomholl/archive/2008/02/02/unity-entlib.aspx#7390955</link><pubDate>Sat, 02 Feb 2008 16:25:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7390955</guid><dc:creator>Joakim E</dc:creator><description>&lt;p&gt;Another thing I wonder is the performance impact of using Unity in the ent lib. I doubt doing an operation like &lt;/p&gt;
&lt;p&gt;&amp;quot;ILogger logger = unityContainer.Get&amp;lt;ILogger&amp;gt;();&amp;quot;&lt;/p&gt;
&lt;p&gt;every now and then would be a performance gain.&lt;/p&gt;
&lt;p&gt;Would love to hear about some performance numbers. So they dont integrate Unity just for the sake of it and it gets A) Lot slower B) Takes a lot of time that they could do better things with&lt;/p&gt;
</description></item><item><title>re: Unity + EntLib = ?</title><link>http://blogs.msdn.com/tomholl/archive/2008/02/02/unity-entlib.aspx#7394362</link><pubDate>Sat, 02 Feb 2008 19:06:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7394362</guid><dc:creator>Casey</dc:creator><description>&lt;p&gt;I don;t think you need to worry about performance, it should be minimal if it is half as efficient as Windsor, and possibly even more performant (as Windsor deals with lifestyles).&lt;/p&gt;
&lt;p&gt;As far as the EntLib goes though ... I think they may be missing the point ...&lt;/p&gt;
&lt;p&gt;An IoC container (linke Unity or Windsor or StructureMap) is there to allow dependencies to be broken, if the EntLib components have depenedenecies that need to be broken , then all is well - but the reality is that within each block, the dependencies probably may as well be there.&lt;/p&gt;
&lt;p&gt;Between the blocks is another matter - I should be able to use any one block without any of the others, at the moment I really can't ... with a good IoC implementation, I should be able to use each of them, or any combination of them and my own components as I see fit.&lt;/p&gt;
&lt;p&gt;I think this may be a case of MS again copying something from the community, not neccessarily doing it any better, and missing the point of it in the first place. After all - there isn;t much you can do that Windsor, StructureMap or Spring don't already do, the only thing you can do is apply the DI pattern better.&lt;/p&gt;
</description></item><item><title>Unity Workshop</title><link>http://blogs.msdn.com/tomholl/archive/2008/02/02/unity-entlib.aspx#7395066</link><pubDate>Sat, 02 Feb 2008 19:41:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7395066</guid><dc:creator>MichaelD!'s Tech Blog</dc:creator><description>&lt;p&gt;Awww jyea! I'm officially slated a spot in the Unity Workshop announced earlier this week. This will&lt;/p&gt;
</description></item><item><title>re: Unity + EntLib = ?</title><link>http://blogs.msdn.com/tomholl/archive/2008/02/02/unity-entlib.aspx#7400851</link><pubDate>Sun, 03 Feb 2008 02:19:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7400851</guid><dc:creator>tomholl</dc:creator><description>&lt;p&gt;Casey - in what way are you unable to use one block without using others? All of the cross-block dependencies are factored into optional pluggable providers.&lt;/p&gt;
&lt;p&gt;Again, I believe a good IoC container would improve the internal architecture to support this, but I'm not sure what benefits this would provide to the average user.&lt;/p&gt;
</description></item><item><title>re: Unity + EntLib = ?</title><link>http://blogs.msdn.com/tomholl/archive/2008/02/02/unity-entlib.aspx#7403381</link><pubDate>Sun, 03 Feb 2008 06:00:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7403381</guid><dc:creator>FrancoisTanguay</dc:creator><description>&lt;p&gt;I'll be at the workshop, flying all the way down from Montreal!!!&lt;/p&gt;
&lt;p&gt;I think Unity is a lot more than just a way to ease code behing the different blocks of EntLib as it is right now. It is essentially a new block based on some sample container from OB2.0. &lt;/p&gt;
&lt;p&gt;What will it give? Well probably the same benefits as any other IoC container... &amp;nbsp;+ potential larger buy-in from the community.&lt;/p&gt;
&lt;p&gt;I really look forward to unity as I've been playing with OB2.0 for a while now. It is true that I don't really care whether the implementation behing Logger.Write is simplified or not per se. &lt;/p&gt;
&lt;p&gt;However, I always felt that Config Data + Designers + Assemblers + Factory were a bit overwhelming when came time to present to end-users.&lt;/p&gt;
&lt;p&gt;Also, I believe that simplifying the architecture might generate more contrib on EntLibContrib as it will become easier to extend/use.&lt;/p&gt;
</description></item><item><title>re: Unity + EntLib = ?</title><link>http://blogs.msdn.com/tomholl/archive/2008/02/02/unity-entlib.aspx#7417628</link><pubDate>Sun, 03 Feb 2008 22:27:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7417628</guid><dc:creator>Casey</dc:creator><description>&lt;p&gt;&amp;gt;&amp;gt;&amp;gt;in what way are you unable to use one block without using others? All of the cross-block dependencies are factored into optional pluggable providers.&amp;lt;&amp;lt;&lt;/p&gt;
&lt;p&gt;Well the last time I looked, the dependencies were still there - though that was pre-3.0 ... however, even the Provider pattern that MS use/advocate isn't exactly a 'good' seperation ... it was/is overly complex and over specified... and there Unity could certainly help.&lt;/p&gt;
</description></item></channel></rss>