﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for phazed.com</title>
	<atom:link href="http://phazed.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://phazed.com</link>
	<description>Random technological babblings</description>
	<lastBuildDate>Sat, 19 Feb 2011 02:05:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Auto-generating XML serialization classes &#8211; NuGet Edition by Auto-generating XML serialization classes from BizTalk schemas &#124; phazed.com</title>
		<link>http://phazed.com/2011/02/19/auto-generating-xml-serialization-classes-nuget-edition/#comment-890</link>
		<dc:creator>Auto-generating XML serialization classes from BizTalk schemas &#124; phazed.com</dc:creator>
		<pubDate>Sat, 19 Feb 2011 02:05:49 +0000</pubDate>
		<guid isPermaLink="false">http://phazed.com/2011/02/19/auto-generating-xml-serialization-classes-nuget-edition/#comment-890</guid>
		<description>[...] (18th February 2011) I’ve now packaged this template as a NuGet package. Read more about it here.UPDATE: (4th October 2010) A customer of mine has just pointed out that there was a bug in the [...]</description>
		<content:encoded><![CDATA[<p>[...] (18th February 2011) I’ve now packaged this template as a NuGet package. Read more about it here.UPDATE: (4th October 2010) A customer of mine has just pointed out that there was a bug in the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Auto-generating XML serialization classes from BizTalk schemas by Auto-generating XML serialization classes &#8211; NuGet Edition &#124; phazed.com</title>
		<link>http://phazed.com/2010/08/28/auto-generating-xml-serialization-classes-from-biztalk-schemas/#comment-889</link>
		<dc:creator>Auto-generating XML serialization classes &#8211; NuGet Edition &#124; phazed.com</dc:creator>
		<pubDate>Sat, 19 Feb 2011 02:03:26 +0000</pubDate>
		<guid isPermaLink="false">http://phazed.com/2010/08/28/auto-generating-xml-serialization-classes-from-biztalk-schemas/#comment-889</guid>
		<description>[...] NuGet Edition February 19th, 2011 Rupert Benbrook Leave a comment Go to commentsA while back I posted about automatically generating the XML serialization classes from schemas referenced in BizTalk or [...]</description>
		<content:encoded><![CDATA[<p>[...] NuGet Edition February 19th, 2011 Rupert Benbrook Leave a comment Go to commentsA while back I posted about automatically generating the XML serialization classes from schemas referenced in BizTalk or [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reflector acquired by Red Gate by Rupert Benbrook</title>
		<link>http://phazed.com/2008/08/20/reflector-acquired-by-red-gate/#comment-814</link>
		<dc:creator>Rupert Benbrook</dc:creator>
		<pubDate>Thu, 03 Feb 2011 16:05:38 +0000</pubDate>
		<guid isPermaLink="false">http://phazed.com/2008/08/20/reflector-acquired-by-red-gate/#comment-814</guid>
		<description>Samad, I agree, it was only a matter of time. I don&#039;t object to Redgate&#039;s reasons for needing to charge for it, and I don&#039;t think the charge is too high, but it would have been nicer to the community if they&#039;d not time-bombed version 6.0 and allowed it to remain as a free download.</description>
		<content:encoded><![CDATA[<p>Samad, I agree, it was only a matter of time. I don&#8217;t object to Redgate&#8217;s reasons for needing to charge for it, and I don&#8217;t think the charge is too high, but it would have been nicer to the community if they&#8217;d not time-bombed version 6.0 and allowed it to remain as a free download.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reflector acquired by Red Gate by Samad Khan</title>
		<link>http://phazed.com/2008/08/20/reflector-acquired-by-red-gate/#comment-811</link>
		<dc:creator>Samad Khan</dc:creator>
		<pubDate>Thu, 03 Feb 2011 12:18:53 +0000</pubDate>
		<guid isPermaLink="false">http://phazed.com/2008/08/20/reflector-acquired-by-red-gate/#comment-811</guid>
		<description>Hi Rupert,

I know you blogged about this about this some ago but this morning I came across so this announcement from Redgate: http://www.red-gate.com/products/dotnet-development/reflector/announcement.

In a way it wasn&#039;t a complete shock. It was only a matter of time...

Enjoy,
Samad</description>
		<content:encoded><![CDATA[<p>Hi Rupert,</p>
<p>I know you blogged about this about this some ago but this morning I came across so this announcement from Redgate: http://www.red-gate.com/products/dotnet-development/reflector/announcement.</p>
<p>In a way it wasn&#8217;t a complete shock. It was only a matter of time&#8230;</p>
<p>Enjoy,<br />
Samad</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unity and the Factory Method Pattern by Rupert Benbrook</title>
		<link>http://phazed.com/2009/04/23/unity-and-the-factory-method-pattern/#comment-101</link>
		<dc:creator>Rupert Benbrook</dc:creator>
		<pubDate>Tue, 28 Apr 2009 12:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://phazed.com/2009/04/23/unity-and-the-factory-method-pattern/#comment-101</guid>
		<description>&lt;p&gt;Good spot Andreas and thanks for the tests! The formatting was OK once I&#039;d put them into Visual Studio. Fixing the child containers bug turns out to be a fairly easy fix and just requires resolving the container at the point when the delegate is called in the dynamic method. However, getting the factory method to return primative types, in fact all value types, turns out to be far more complex. It involves some pretty nasty code so I think it warrants another post to explain it. Time to get writing...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Good spot Andreas and thanks for the tests! The formatting was OK once I&#8217;d put them into Visual Studio. Fixing the child containers bug turns out to be a fairly easy fix and just requires resolving the container at the point when the delegate is called in the dynamic method. However, getting the factory method to return primative types, in fact all value types, turns out to be far more complex. It involves some pretty nasty code so I think it warrants another post to explain it. Time to get writing&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unity and the Factory Method Pattern by Andreas</title>
		<link>http://phazed.com/2009/04/23/unity-and-the-factory-method-pattern/#comment-100</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Mon, 27 Apr 2009 13:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://phazed.com/2009/04/23/unity-and-the-factory-method-pattern/#comment-100</guid>
		<description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I did a similiar thing using various wrappers on top of the StaticFactoryExtension. This way seems cleaner though. Two comments:&lt;/p&gt;
&lt;p&gt;(I hope that formatting is not screwed up too badly)&lt;/p&gt;
&lt;p&gt;1. It does not appear to support primitive types well:&lt;/p&gt;
&lt;p&gt;        [Test]&lt;/p&gt;
&lt;p&gt;        public void FactoryMethodShouldSupportResolvingPrimitiveTypes() {&lt;/p&gt;
&lt;p&gt;            var container = new UnityContainer();&lt;/p&gt;
&lt;p&gt;            container.AddNewExtension&lt;FactoryMethodExtension&gt;();&lt;/p&gt;
&lt;p&gt;            container.Configure&lt;IFactoryMethodConfiguration&gt;().RegisterFactory&lt;byte&gt;(c =&gt; 33);&lt;/p&gt;
&lt;p&gt;            Assert.AreEqual(33, container.Resolve&lt;byte&gt;());&lt;/p&gt;
&lt;p&gt;        }&lt;/p&gt;
&lt;p&gt;2. Child containers are not handled that well, i.e. you bind to the parent container in the RegisterFactor&lt;T&gt; method. I&#039;m not sure how this could be handled though bit it seems pretty important to me. I.e. the following test:&lt;/p&gt;
&lt;p&gt;        [Test]&lt;/p&gt;
&lt;p&gt;        public void FactoryMethodShouldPassCurrentlyResolvingContainerAsFactoryParameter() {&lt;/p&gt;
&lt;p&gt;            IUnityContainer containerArgument = null;&lt;/p&gt;
&lt;p&gt;            var container = new UnityContainer();&lt;/p&gt;
&lt;p&gt;            container.AddNewExtension&lt;FactoryMethodExtension&gt;();&lt;/p&gt;
&lt;p&gt;            container.Configure&lt;IFactoryMethodConfiguration&gt;().RegisterFactory&lt;string&gt;(delegate(IUnityContainer c) {&lt;/p&gt;
&lt;p&gt;                                                                                           containerArgument = c;&lt;/p&gt;
&lt;p&gt;                                                                                           return &quot;Hello&quot;;&lt;/p&gt;
&lt;p&gt;                                                                                       });&lt;/p&gt;
&lt;p&gt;            var child = container.CreateChildContainer();&lt;/p&gt;
&lt;p&gt;            string str = child.Resolve&lt;string&gt;();&lt;/p&gt;
&lt;p&gt;            Assert.AreEqual(&quot;Hello&quot;, str);&lt;/p&gt;
&lt;p&gt;            Assert.AreSame(child, containerArgument);&lt;/p&gt;
&lt;p&gt;        }&lt;/p&gt;
&lt;p&gt;It&#039;s a bit sad that it requries emitting IL to generate extensions!!&lt;/p&gt;
&lt;p&gt;I hope you can work around these issues since I need the child container feature...&lt;/p&gt;
&lt;p&gt;Greets, Andreas&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I did a similiar thing using various wrappers on top of the StaticFactoryExtension. This way seems cleaner though. Two comments:</p>
<p>(I hope that formatting is not screwed up too badly)</p>
<p>1. It does not appear to support primitive types well:</p>
<p>        [Test]</p>
<p>        public void FactoryMethodShouldSupportResolvingPrimitiveTypes() {</p>
<p>            var container = new UnityContainer();</p>
<p>            container.AddNewExtension&lt;FactoryMethodExtension&gt;();</p>
<p>            container.Configure&lt;IFactoryMethodConfiguration&gt;().RegisterFactory&lt;byte&gt;(c =&gt; 33);</p>
<p>            Assert.AreEqual(33, container.Resolve&lt;byte&gt;());</p>
<p>        }</p>
<p>2. Child containers are not handled that well, i.e. you bind to the parent container in the RegisterFactor&lt;T&gt; method. I&#8217;m not sure how this could be handled though bit it seems pretty important to me. I.e. the following test:</p>
<p>        [Test]</p>
<p>        public void FactoryMethodShouldPassCurrentlyResolvingContainerAsFactoryParameter() {</p>
<p>            IUnityContainer containerArgument = null;</p>
<p>            var container = new UnityContainer();</p>
<p>            container.AddNewExtension&lt;FactoryMethodExtension&gt;();</p>
<p>            container.Configure&lt;IFactoryMethodConfiguration&gt;().RegisterFactory&lt;string&gt;(delegate(IUnityContainer c) {</p>
<p>                                                                                           containerArgument = c;</p>
<p>                                                                                           return &quot;Hello&quot;;</p>
<p>                                                                                       });</p>
<p>            var child = container.CreateChildContainer();</p>
<p>            string str = child.Resolve&lt;string&gt;();</p>
<p>            Assert.AreEqual(&quot;Hello&quot;, str);</p>
<p>            Assert.AreSame(child, containerArgument);</p>
<p>        }</p>
<p>It&#8217;s a bit sad that it requries emitting IL to generate extensions!!</p>
<p>I hope you can work around these issues since I need the child container feature&#8230;</p>
<p>Greets, Andreas</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Isaac Michael Benbrook by Rupert Benbrook</title>
		<link>http://phazed.com/2009/01/14/isaac-michael-benbrook/#comment-92</link>
		<dc:creator>Rupert Benbrook</dc:creator>
		<pubDate>Wed, 11 Feb 2009 22:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://phazed.com/2009/01/14/isaac-michael-benbrook/#comment-92</guid>
		<description>&lt;p&gt;Thank you all for your all your kind congratulations. We&#039;ve been overwhelmed by the responses. I promise I&#039;ll post more photos as Isaac grows up, although he may not thank me for it later on in life!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thank you all for your all your kind congratulations. We&#8217;ve been overwhelmed by the responses. I promise I&#8217;ll post more photos as Isaac grows up, although he may not thank me for it later on in life!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flexible Enumerations by Rupert Benbrook</title>
		<link>http://phazed.com/2009/02/04/flexible-enumerations/#comment-99</link>
		<dc:creator>Rupert Benbrook</dc:creator>
		<pubDate>Wed, 11 Feb 2009 08:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://phazed.com/2009/02/04/flexible-enumerations/#comment-99</guid>
		<description>&lt;p&gt;Hey boys, stop fighting, there are plenty of enumerations for all of us! In fact I quite like that there are variations on the same pattern with different features that emphasised differently by each of us. It just goes to prove there isn’t a single answer and that the context is often important too.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey boys, stop fighting, there are plenty of enumerations for all of us! In fact I quite like that there are variations on the same pattern with different features that emphasised differently by each of us. It just goes to prove there isn’t a single answer and that the context is often important too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flexible Enumerations by Josh</title>
		<link>http://phazed.com/2009/02/04/flexible-enumerations/#comment-98</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Wed, 11 Feb 2009 07:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://phazed.com/2009/02/04/flexible-enumerations/#comment-98</guid>
		<description>&lt;p&gt;That wasn&#039;t a conversation. I blogged about it and then you both ripped me off! Thieves! Thieves everywhere!&lt;/p&gt;
&lt;p&gt;:)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>That wasn&#8217;t a conversation. I blogged about it and then you both ripped me off! Thieves! Thieves everywhere!</p>
<p> <img src='http://phazed.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flexible Enumerations by Simon Ince</title>
		<link>http://phazed.com/2009/02/04/flexible-enumerations/#comment-97</link>
		<dc:creator>Simon Ince</dc:creator>
		<pubDate>Mon, 09 Feb 2009 08:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://phazed.com/2009/02/04/flexible-enumerations/#comment-97</guid>
		<description>&lt;p&gt;Nice post - interesting variation on something I do too. Myself and Josh had a brief blog conversation about a related subject too;&lt;/p&gt;
&lt;p&gt; &lt;a target=&quot;_blank&quot; href=&quot;http://blogs.msdn.com/simonince/archive/2008/08/15/strongly-typed-primitives.aspx&quot;&gt;blogs.msdn.com/.../strongly-typed-&lt;/a&gt; &lt;/p&gt;
&lt;p&gt; &lt;a target=&quot;_blank&quot; href=&quot;http://www.thejoyofcode.com/Avoiding_Primitive_Obsession_to_tip_developers_into_the_pit_of_success.aspx&quot;&gt;www.thejoyofcode.com/.../Avoiding_Primit&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nice post &#8211; interesting variation on something I do too. Myself and Josh had a brief blog conversation about a related subject too;</p>
<p> <a target="_blank" href="http://blogs.msdn.com/simonince/archive/2008/08/15/strongly-typed-primitives.aspx">blogs.msdn.com/&#8230;/strongly-typed-</a> </p>
<p> <a target="_blank" href="http://www.thejoyofcode.com/Avoiding_Primitive_Obsession_to_tip_developers_into_the_pit_of_success.aspx">www.thejoyofcode.com/&#8230;/Avoiding_Primit</a> </p>
<p>Simon</p>
]]></content:encoded>
	</item>
</channel>
</rss>

