<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>OnaCat Technologies &#187; Code</title>
	<atom:link href="http://onacat.net/?feed=rss2&#038;tag=code" rel="self" type="application/rss+xml" />
	<link>http://onacat.net</link>
	<description>A different sort of cat</description>
	<lastBuildDate>Sun, 13 Jan 2013 19:28:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6.1</generator>
		<item>
		<title>Sample code &#8211; 50 ways to list your files</title>
		<link>http://onacat.net/?p=14</link>
		<comments>http://onacat.net/?p=14#comments</comments>
		<pubDate>Tue, 29 Jun 2010 16:19:25 +0000</pubDate>
		<dc:creator>Nelson</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[MEF]]></category>
		<category><![CDATA[Sample]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://onacat.net/?p=14</guid>
		<description><![CDATA[OK, so it&#8217;s not 50, but it&#8217;s still a lot.  My idea was simple.  Create a small use case (in this case, create a file listing),  and see how many different ways I can implement it using .net code.  The first two were easy, good ol&#8217; windows forms using c# and vb.net.  Well then, why [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>OK, so it&#8217;s not 50, but it&#8217;s still a lot.  My idea was simple.  Create a small use case (in this case, create a file listing),  and see how many different ways I can implement it using .net code.  The first two were easy, good ol&#8217; windows forms using c# and vb.net.  Well then, why not WPF?  Well, as long as we&#8217;re getting into the Microsoft foundation series, how about a WCF client/server version?  And as long as we&#8217;re talking client/server why not Silverlight?  Great, but all these technologies are so 2009.  So let&#8217;s add an implementation using Microsoft&#8217;s Managed Extensibility Foundation (MEF) and the new code contracts&#8230;cool!  Along the way I kept refactoring the code, but it still encompasses 17 projects.  I&#8217;ll probably add an RIA Services version at some point as well, which should bring us up to a round 20 projects.</p>
<p>Just to list the files in a directory.   Check out the code here: <a href="http://onacat.net/wp-content/uploads/2010/06/FileListing.zip">FileListing</a></p>
<p><span id="more-14"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://onacat.net/?feed=rss2&#038;p=14</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
