<?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 Colin Ramsay&#039;s Blog</title>
	<atom:link href="http://lostechies.com/colinramsay/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/colinramsay</link>
	<description>Just another LosTechies site</description>
	<lastBuildDate>Wed, 27 May 2009 23:01:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>Comment on PTOM: Breaking Free from HttpContext by mycall</title>
		<link>http://lostechies.com/colinramsay/2009/05/05/breaking-free-from-httpcontext/#comment-85</link>
		<dc:creator>mycall</dc:creator>
		<pubDate>Wed, 27 May 2009 23:01:09 +0000</pubDate>
		<guid isPermaLink="false">/blogs/colin_ramsay/archive/2009/05/05/breaking-free-from-httpcontext.aspx#comment-85</guid>
		<description>Here is another workaround to embedding HttpContext.Current.Session..

    public class ContextStorage
    {

        [ThreadStatic]
        private static Dictionary&lt;string, object&gt; threadContext = new Dictionary&lt;string, object&gt;();

        public static bool IsWebContext()
        {
            try
            {
                return (HttpContext.Current != null);
            }
            catch (HttpException) { }
            return false;
        }

        public static IDictionary Items
        {
            get
            {
                return IsWebContext() ? HttpContext.Current.Items : threadContext;
            }
        }

    }</description>
		<content:encoded><![CDATA[<p>Here is another workaround to embedding HttpContext.Current.Session..</p>
<p>    public class ContextStorage<br />
    {</p>
<p>        [ThreadStatic]<br />
        private static Dictionary<string , object> threadContext = new Dictionary</string><string , object>();</p>
<p>        public static bool IsWebContext()<br />
        {<br />
            try<br />
            {<br />
                return (HttpContext.Current != null);<br />
            }<br />
            catch (HttpException) { }<br />
            return false;<br />
        }</p>
<p>        public static IDictionary Items<br />
        {<br />
            get<br />
            {<br />
                return IsWebContext() ? HttpContext.Current.Items : threadContext;<br />
            }<br />
        }</p>
<p>    }</string></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Castle MicroKernel Fluent Event Wiring by Brad Mead</title>
		<link>http://lostechies.com/colinramsay/2009/01/25/castle-microkernel-fluent-event-wiring/#comment-84</link>
		<dc:creator>Brad Mead</dc:creator>
		<pubDate>Tue, 27 Jan 2009 19:08:22 +0000</pubDate>
		<guid isPermaLink="false">/blogs/colin_ramsay/archive/2009/01/25/castle-microkernel-fluent-event-wiring.aspx#comment-84</guid>
		<description>Nevermind... reading the referenced &quot;forgottenskies&quot; link: :))</description>
		<content:encoded><![CDATA[<p>Nevermind&#8230; reading the referenced &#8220;forgottenskies&#8221; link: <img src='http://lostechies.com/colinramsay/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Castle MicroKernel Fluent Event Wiring by Brad Mead</title>
		<link>http://lostechies.com/colinramsay/2009/01/25/castle-microkernel-fluent-event-wiring/#comment-83</link>
		<dc:creator>Brad Mead</dc:creator>
		<pubDate>Tue, 27 Jan 2009 18:46:13 +0000</pubDate>
		<guid isPermaLink="false">/blogs/colin_ramsay/archive/2009/01/25/castle-microkernel-fluent-event-wiring.aspx#comment-83</guid>
		<description>Or is the Subscriber-&gt;SubscriberInfo  relationship &quot;grease&quot; for the extension method/ linq usage? Like a thin object graph

i.e. Child.ForName(&quot;subscriber&quot;)  roughly equates to &quot;give me child of the one named subscriber (SubscriberInfo?)

Are Child.ForName, .Eq, Attrib.ForName MicroKernel Registration API extension methods?

Sorry about the dumb questions. I am deciding on IoC containers and evaluating code-based configuration paradigms. I think I understand how to leverage your approach on down the road - I thought I might as well poke the unknowns. I am also a little linq-naive.</description>
		<content:encoded><![CDATA[<p>Or is the Subscriber->SubscriberInfo  relationship &#8220;grease&#8221; for the extension method/ linq usage? Like a thin object graph</p>
<p>i.e. Child.ForName(&#8220;subscriber&#8221;)  roughly equates to &#8220;give me child of the one named subscriber (SubscriberInfo?)</p>
<p>Are Child.ForName, .Eq, Attrib.ForName MicroKernel Registration API extension methods?</p>
<p>Sorry about the dumb questions. I am deciding on IoC containers and evaluating code-based configuration paradigms. I think I understand how to leverage your approach on down the road &#8211; I thought I might as well poke the unknowns. I am also a little linq-naive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Castle MicroKernel Fluent Event Wiring by Brad Mead</title>
		<link>http://lostechies.com/colinramsay/2009/01/25/castle-microkernel-fluent-event-wiring/#comment-82</link>
		<dc:creator>Brad Mead</dc:creator>
		<pubDate>Tue, 27 Jan 2009 17:10:27 +0000</pubDate>
		<guid isPermaLink="false">/blogs/colin_ramsay/archive/2009/01/25/castle-microkernel-fluent-event-wiring.aspx#comment-82</guid>
		<description>OT: @Colin 

Just few a questions in regard to the class encapsulation where Subscriber encapsulates SubscriberInfo. I typically warn myself off of usage like this because I don&#039;t understand the qualities. 

Is this implementation: 
a) a pattern of which I am unaware 
b) Does it afford quality to the container or the fluency framework? 
c)?


Thanks, Brad 

 </description>
		<content:encoded><![CDATA[<p>OT: @Colin </p>
<p>Just few a questions in regard to the class encapsulation where Subscriber encapsulates SubscriberInfo. I typically warn myself off of usage like this because I don&#8217;t understand the qualities. </p>
<p>Is this implementation:<br />
a) a pattern of which I am unaware<br />
b) Does it afford quality to the container or the fluency framework?<br />
c)?</p>
<p>Thanks, Brad </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Castle MicroKernel Fluent Event Wiring by Tuna Toksoz</title>
		<link>http://lostechies.com/colinramsay/2009/01/25/castle-microkernel-fluent-event-wiring/#comment-81</link>
		<dc:creator>Tuna Toksoz</dc:creator>
		<pubDate>Tue, 27 Jan 2009 16:02:58 +0000</pubDate>
		<guid isPermaLink="false">/blogs/colin_ramsay/archive/2009/01/25/castle-microkernel-fluent-event-wiring.aspx#comment-81</guid>
		<description>i am just trying some tricks, 

Component.For&lt;IService&gt;()
.ImplementedBy&lt;PublisherService&gt;()	.Subscribers(Subscriber.ForComponent&lt;PublisherService,SubscriberService&gt;(&quot;subscriberId&quot;,(x, y) =&gt; x.ServiceStarted += y.Subscriber));

This is possible since I&#039;m using lambda&#039;s as delegates. I think i can process it to get the right stuff: which subscribed to what but this ForComponent&lt;Pub,Sub&gt; part disturbs me as it is not necessary.
</description>
		<content:encoded><![CDATA[<p>i am just trying some tricks, </p>
<p>Component.For<iservice>()<br />
.ImplementedBy
<publisherservice>()	.Subscribers(Subscriber.ForComponent</publisherservice>
<publisherservice ,SubscriberService>(&#8220;subscriberId&#8221;,(x, y) => x.ServiceStarted += y.Subscriber));</p>
<p>This is possible since I&#8217;m using lambda&#8217;s as delegates. I think i can process it to get the right stuff: which subscribed to what but this ForComponent
<pub ,Sub> part disturbs me as it is not necessary.
</pub></publisherservice></iservice></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Castle MicroKernel Fluent Event Wiring by cramsay</title>
		<link>http://lostechies.com/colinramsay/2009/01/25/castle-microkernel-fluent-event-wiring/#comment-80</link>
		<dc:creator>cramsay</dc:creator>
		<pubDate>Tue, 27 Jan 2009 15:40:58 +0000</pubDate>
		<guid isPermaLink="false">/blogs/colin_ramsay/archive/2009/01/25/castle-microkernel-fluent-event-wiring.aspx#comment-80</guid>
		<description>Valeriu, I agree but as Tuna has mentioned I&#039;m not sure if that would be possible in this context. If someone can point us in the right direction....?</description>
		<content:encoded><![CDATA[<p>Valeriu, I agree but as Tuna has mentioned I&#8217;m not sure if that would be possible in this context. If someone can point us in the right direction&#8230;.?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Castle MicroKernel Fluent Event Wiring by Tuna Toksoz</title>
		<link>http://lostechies.com/colinramsay/2009/01/25/castle-microkernel-fluent-event-wiring/#comment-79</link>
		<dc:creator>Tuna Toksoz</dc:creator>
		<pubDate>Tue, 27 Jan 2009 15:17:05 +0000</pubDate>
		<guid isPermaLink="false">/blogs/colin_ramsay/archive/2009/01/25/castle-microkernel-fluent-event-wiring.aspx#comment-79</guid>
		<description>There is one thing that I forgot about: events can only be used on the left of += operator and unfortunately an assignment operator cannot be part of an expresssion. Agh!!!</description>
		<content:encoded><![CDATA[<p>There is one thing that I forgot about: events can only be used on the left of += operator and unfortunately an assignment operator cannot be part of an expresssion. Agh!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Castle MicroKernel Fluent Event Wiring by Valeriu Caraulean</title>
		<link>http://lostechies.com/colinramsay/2009/01/25/castle-microkernel-fluent-event-wiring/#comment-78</link>
		<dc:creator>Valeriu Caraulean</dc:creator>
		<pubDate>Tue, 27 Jan 2009 12:27:40 +0000</pubDate>
		<guid isPermaLink="false">/blogs/colin_ramsay/archive/2009/01/25/castle-microkernel-fluent-event-wiring.aspx#comment-78</guid>
		<description>Will be nice to get rid of all &quot;magic&quot; strings.
Try add expressions and static reflection, it may be better...</description>
		<content:encoded><![CDATA[<p>Will be nice to get rid of all &#8220;magic&#8221; strings.<br />
Try add expressions and static reflection, it may be better&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Castle MicroKernel Fluent Event Wiring by Tuna Toksoz</title>
		<link>http://lostechies.com/colinramsay/2009/01/25/castle-microkernel-fluent-event-wiring/#comment-77</link>
		<dc:creator>Tuna Toksoz</dc:creator>
		<pubDate>Tue, 27 Jan 2009 04:08:00 +0000</pubDate>
		<guid isPermaLink="false">/blogs/colin_ramsay/archive/2009/01/25/castle-microkernel-fluent-event-wiring.aspx#comment-77</guid>
		<description>I guess I can take i one step further with more lambdas. </description>
		<content:encoded><![CDATA[<p>I guess I can take i one step further with more lambdas. </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The State of Windows Mobile by Christopher Fairbairn</title>
		<link>http://lostechies.com/colinramsay/2009/01/14/the-state-of-windows-mobile/#comment-76</link>
		<dc:creator>Christopher Fairbairn</dc:creator>
		<pubDate>Thu, 15 Jan 2009 04:22:35 +0000</pubDate>
		<guid isPermaLink="false">/blogs/colin_ramsay/archive/2009/01/14/the-state-of-windows-mobile.aspx#comment-76</guid>
		<description>The distinction between smartphone and pocket pc is muddled at best. With the new naming conventions it essentially boils down to the following from a consumer perspective:

Standard = non touch screen device (with cellphone)
Professional = touch screen device (with cellphone)
Classic = touch screen device (without cellphone).

The two SDKs essentially deal with issues caused by the presence (or lack of) a touchscreen. As an example the .NET CF does not support use of the standard Button control while building an application for a Windows Mobile standard device (how would the user click it?). Even a simple multiline textbox operates differently on the two types of devices.

Over time the platforms do appear to be getting closer to each other and features have migrated between them with each major release. For example the current XML based CAB file format used by Pocket PC devices was originally a Smartphone only feature.

I do agree with your comments about some of the &quot;value added&quot; .NET CF components (CameraCaptureDialog etc) however. Quite often they have poor consistancy across devices and leave a lot of functionality present in the native versions of the APIs inaccessable.</description>
		<content:encoded><![CDATA[<p>The distinction between smartphone and pocket pc is muddled at best. With the new naming conventions it essentially boils down to the following from a consumer perspective:</p>
<p>Standard = non touch screen device (with cellphone)<br />
Professional = touch screen device (with cellphone)<br />
Classic = touch screen device (without cellphone).</p>
<p>The two SDKs essentially deal with issues caused by the presence (or lack of) a touchscreen. As an example the .NET CF does not support use of the standard Button control while building an application for a Windows Mobile standard device (how would the user click it?). Even a simple multiline textbox operates differently on the two types of devices.</p>
<p>Over time the platforms do appear to be getting closer to each other and features have migrated between them with each major release. For example the current XML based CAB file format used by Pocket PC devices was originally a Smartphone only feature.</p>
<p>I do agree with your comments about some of the &#8220;value added&#8221; .NET CF components (CameraCaptureDialog etc) however. Quite often they have poor consistancy across devices and leave a lot of functionality present in the native versions of the APIs inaccessable.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
