<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Human-Debugger.net</title>
    <link>http://www.human-debugger.net/blog/</link>
    <description>Raba - Defend your code</description>
    <language>en-us</language>
    <copyright>Shani Raba</copyright>
    <lastBuildDate>Sat, 13 Feb 2010 12:49:30 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.9074.18820</generator>
    <managingEditor>human.debugger.net@gmail.com</managingEditor>
    <webMaster>human.debugger.net@gmail.com</webMaster>
    <item>
      <trackback:ping>http://www.human-debugger.net/blog/Trackback.aspx?guid=f252d9cb-8565-4e0e-82e6-d06f5810db12</trackback:ping>
      <pingback:server>http://www.human-debugger.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.human-debugger.net/blog/PermaLink,guid,f252d9cb-8565-4e0e-82e6-d06f5810db12.aspx</pingback:target>
      <dc:creator>Shani Raba</dc:creator>
      <wfw:comment>http://www.human-debugger.net/blog/CommentView,guid,f252d9cb-8565-4e0e-82e6-d06f5810db12.aspx</wfw:comment>
      <wfw:commentRss>http://www.human-debugger.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=f252d9cb-8565-4e0e-82e6-d06f5810db12</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <title>Dasblog 2.3 | GoDaddy.com</title>
      <guid isPermaLink="false">http://www.human-debugger.net/blog/PermaLink,guid,f252d9cb-8565-4e0e-82e6-d06f5810db12.aspx</guid>
      <link>http://www.human-debugger.net/blog/2010/02/13/Dasblog23GoDaddycom.aspx</link>
      <pubDate>Sat, 13 Feb 2010 12:49:30 GMT</pubDate>
      <description>&lt;div&gt;&lt;p&gt;Finally, after a long time I find time to upgrade my blog to the newly 2.3 version.&lt;/p&gt; &lt;p&gt;I had many problems installing this version Go-daddy, Monorail and SecurityException.&lt;br&gt;The last one was also the funny one, after Google-ing a little bit, I found this &lt;a href="http://www.tomergabel.com/dasBlog23UpdateWoesDealingWithSecurityException.aspx"&gt;post&lt;/a&gt; by Gabel one of my co-workers.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;What’s new?&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;So first I created my self a new homepage which you can see &lt;a href="http://www.human-debugger.net/welcome.html"&gt;here&lt;/a&gt;.&lt;br&gt;Second, you can track my reading-list, my twitter statuses and my projects (will be published later).&lt;/p&gt; &lt;p&gt;&lt;a title="homepage" href="http://www.human-debugger.net/welcome.html"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="homepage" border="0" alt="homepage" src="http://www.human-debugger.net/blog/content/binary/WindowsLiveWriter/Dasblog2.3GoDaddy.com_D07E/homepage%5B1%5D_5.png" width="244" height="150"&gt;&lt;/a&gt;&amp;nbsp; &lt;a title="reading-list" href="http://www.human-debugger.net/Books.html"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="readinglist" border="0" alt="readinglist" src="http://www.human-debugger.net/blog/content/binary/WindowsLiveWriter/Dasblog2.3GoDaddy.com_D07E/readinglist%5B1%5D_3.png" width="244" height="153"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;Have fun.&lt;/p&gt;&lt;img width="0" height="0" src="http://www.human-debugger.net/blog/aggbug.ashx?id=f252d9cb-8565-4e0e-82e6-d06f5810db12"/&gt;&lt;/div&gt;</description>
      <comments>http://www.human-debugger.net/blog/CommentView,guid,f252d9cb-8565-4e0e-82e6-d06f5810db12.aspx</comments>
      <category>My Site</category>
    </item>
    <item>
      <trackback:ping>http://www.human-debugger.net/blog/Trackback.aspx?guid=cf9c0d76-5b51-47f5-be1b-e78ef20d3364</trackback:ping>
      <pingback:server>http://www.human-debugger.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.human-debugger.net/blog/PermaLink,guid,cf9c0d76-5b51-47f5-be1b-e78ef20d3364.aspx</pingback:target>
      <dc:creator>Shani Raba</dc:creator>
      <wfw:comment>http://www.human-debugger.net/blog/CommentView,guid,cf9c0d76-5b51-47f5-be1b-e78ef20d3364.aspx</wfw:comment>
      <wfw:commentRss>http://www.human-debugger.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=cf9c0d76-5b51-47f5-be1b-e78ef20d3364</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <title>Parameterize Tests - [TestCaseAttribute]</title>
      <guid isPermaLink="false">http://www.human-debugger.net/blog/PermaLink,guid,cf9c0d76-5b51-47f5-be1b-e78ef20d3364.aspx</guid>
      <link>http://www.human-debugger.net/blog/2009/08/01/ParameterizeTestsTestCaseAttribute.aspx</link>
      <pubDate>Sat, 01 Aug 2009 04:20:12 GMT</pubDate>
      <description>&lt;div&gt;&lt;p&gt;Test methods must be written as production code.&lt;br&gt;While writing your tests you must act the same methods you write for your production code which means:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;human-readable (code standard, pattern etc.)  &lt;li&gt;code re-use (copy paste is never acceptable)  &lt;li&gt;etc...&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;This is a code you will probably find in your test projects&lt;/p&gt; &lt;div&gt; &lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   1:&lt;/span&gt; [Test]&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   2:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; GetCommentsByQuery_LookFormHmmmText_FindAtLeaseOne()&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   3:&lt;/span&gt; {&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   4:&lt;/span&gt;     SvnLogParser parser = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; SvnLogParser();&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   5:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; textToSearch = &lt;span style="color: #006080"&gt;"Hmmm..."&lt;/span&gt;;&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   6:&lt;/span&gt;     var results = parser.GetCommentsByQuery(comment =&amp;gt; comment.Contains(textToSearch));&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   7:&lt;/span&gt;     CollectionAssertExtensions.IsNotEmpty(results);&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   8:&lt;/span&gt; }&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   9:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  10:&lt;/span&gt; [Test]&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  11:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; GetCommentsByQuery_LookFormBugText_FindAtLeastOne()&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  12:&lt;/span&gt; {&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  13:&lt;/span&gt;     SvnLogParser parser = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; SvnLogParser();&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  14:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; textToSearch = &lt;span style="color: #006080"&gt;"bug"&lt;/span&gt;;&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  15:&lt;/span&gt;     var results = parser.GetCommentsByQuery(comment =&amp;gt; comment.Contains(textToSearch));&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  16:&lt;/span&gt;     CollectionAssertExtensions.IsNotEmpty(results);&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  17:&lt;/span&gt; }&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;You can see that the two methods are pretty much the same, the only change is the textToSearch variable.&lt;br&gt;There are some excuses for such duplication:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;"We want two different names... to easily understand the failiure reason" 
&lt;li&gt;"we want it to be easy to read, without context switches..." (method calls and un-needed inheritance complexity)&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;We, of course, can refactor this code, like this:&lt;/p&gt;
&lt;div&gt;
&lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   1:&lt;/span&gt; [Test]&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   2:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; GetCommentsByQuery_LookFormBugText_FindAtLeastOne()&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   3:&lt;/span&gt; {&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   4:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; textToSearch = &lt;span style="color: #006080"&gt;"bug"&lt;/span&gt;;&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   5:&lt;/span&gt;     GetCommentsByQuery_AssertAllItemsStartsWith(textToSearch);&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   6:&lt;/span&gt; }&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   7:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   8:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   9:&lt;/span&gt; [Test]&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  10:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; GetCommnentsByQuery_LookForHmmmText_VerifyInsideComment()&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  11:&lt;/span&gt; {&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  12:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; textToSearch = &lt;span style="color: #006080"&gt;"Hmmm..."&lt;/span&gt;;&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  13:&lt;/span&gt;     GetCommentsByQuery_AssertAllItemsStartsWith(textToSearch);&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  14:&lt;/span&gt; }&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  15:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  16:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; GetCommentsByQuery_AssertAllItemsStartsWith(&lt;span style="color: #0000ff"&gt;string&lt;/span&gt; textToSearch)&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  17:&lt;/span&gt; {&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  18:&lt;/span&gt;     SvnLogParser parser = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; SvnLogParser();&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  19:&lt;/span&gt;     var results = parser.GetCommentsByQuery(comment =&amp;gt; comment.StartsWith(textToSearch));&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  20:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  21:&lt;/span&gt;     CollectionAssertExtensions.AllItemsSatisfy(results, res =&amp;gt; res.Comment.StartsWith(textToSearch));&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;  22:&lt;/span&gt; }&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This is better when you think of clone detection: less identical rows and the logic was extracted to one method.&lt;br&gt;But people might say that they can't see the AAA (Arrange, Act, Assert) and they want it in one place,&lt;br&gt;Moreover, in such code sample, it is harder to find all the input parameters, cause they will be spread all over the TestFixture methods.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NUnit 2.5 added TestCaseAttribute, this can help us write tests that are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;more readable 
&lt;li&gt;shorter test-fixture 
&lt;li&gt;all-in-one-place tests&lt;/li&gt;&lt;/ul&gt;
&lt;div&gt;
&lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   1:&lt;/span&gt; [TestCase(&lt;span style="color: #006080"&gt;"Hm..."&lt;/span&gt;)]&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   2:&lt;/span&gt; [TestCase(&lt;span style="color: #006080"&gt;"bug"&lt;/span&gt;)]&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;2:&lt;/span&gt; [TestCase(&lt;span style="color: #006080"&gt;"bug"&lt;/span&gt;)]&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   3:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; GetCommentsByQuery_LookForText_FindAtLeastOne(&lt;span style="color: #0000ff"&gt;string&lt;/span&gt; textToSearch)&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   4:&lt;/span&gt; {&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   5:&lt;/span&gt;     SvnLogParser parser = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; SvnLogParser();&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   6:&lt;/span&gt;     var results = parser.GetCommentsByQuery(comment =&amp;gt; comment.Contains(textToSearch));&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   7:&lt;/span&gt;     CollectionAssertExtensions.IsNotEmpty(results);&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   8:&lt;/span&gt; }&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Here you can avoid the duplication and you won't need to refactor your Tests to more than one method, while you still see them running using the given parameter, &lt;br&gt;for example when the second parameter will fail you will see this output:&lt;/p&gt;
&lt;div&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: black; margin: 0em; padding-left: 0px; width: 98.93%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; height: 208px; color: yellow; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;------ Test started: Assembly: App.Tests.dll ------

TestCase 'App.Tests.NewFolder1.SvnLogParserTests.GetCommentsByQuery_LookForText_FindAtLeastOne("Hm...")'
failed: 
  Expected: True
  But was:  False
    C:\ShaniData\ProjectsByTitle\Delver\App.Tests\NewFolder1\SvnLogParserTests.cs(75,0): at App.Tests.NewFolder1.CollectionAssertExtensions.IsNotEmpty[T]
    C:\ShaniData\ProjectsByTitle\Delver\App.Tests\NewFolder1\SvnLogParserTests.cs(33,0): at App.Tests.NewFolder1.SvnLogParserTests.GetCommentsByQuery_LookForText_Find...


4 passed, 1 failed, 0 skipped, took 0.78 seconds (NUnit 2.5).


&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The output will point the given method and the parameter used - which will ease finding the error.&lt;br&gt;You can extend reading about the usage &lt;a href="http://nunit.com/blogs/?p=60"&gt;here&lt;/a&gt;&lt;/p&gt;&lt;img width="0" height="0" src="http://www.human-debugger.net/blog/aggbug.ashx?id=cf9c0d76-5b51-47f5-be1b-e78ef20d3364"/&gt;&lt;/div&gt;</description>
      <comments>http://www.human-debugger.net/blog/CommentView,guid,cf9c0d76-5b51-47f5-be1b-e78ef20d3364.aspx</comments>
      <category>.Net 3.5</category>
      <category>.Net 3.5/C#3.0</category>
      <category>TDD</category>
      <category>TDD/NUnit</category>
    </item>
    <item>
      <trackback:ping>http://www.human-debugger.net/blog/Trackback.aspx?guid=5f001a13-bcc2-4402-b303-5898fea1a612</trackback:ping>
      <pingback:server>http://www.human-debugger.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.human-debugger.net/blog/PermaLink,guid,5f001a13-bcc2-4402-b303-5898fea1a612.aspx</pingback:target>
      <dc:creator>Shani Raba</dc:creator>
      <wfw:comment>http://www.human-debugger.net/blog/CommentView,guid,5f001a13-bcc2-4402-b303-5898fea1a612.aspx</wfw:comment>
      <wfw:commentRss>http://www.human-debugger.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=5f001a13-bcc2-4402-b303-5898fea1a612</wfw:commentRss>
      <title>Refactoring and code reviews</title>
      <guid isPermaLink="false">http://www.human-debugger.net/blog/PermaLink,guid,5f001a13-bcc2-4402-b303-5898fea1a612.aspx</guid>
      <link>http://www.human-debugger.net/blog/2009/07/28/RefactoringAndCodeReviews.aspx</link>
      <pubDate>Tue, 28 Jul 2009 06:05:03 GMT</pubDate>
      <description>&lt;div&gt;&lt;p&gt;
&lt;a href="http://blogs.microsoft.co.il/blogs/yoavmichaeli/"&gt;Yoav&lt;/a&gt; sent me this &lt;a href="http://www.refactormycode.com/session"&gt;web site&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;I like the idea of sharing knowledge, &lt;br&gt;I also like to read and learn from open sources.&lt;br&gt;This is even better: daily -public- code review...&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;img width="0" height="0" src="http://www.human-debugger.net/blog/aggbug.ashx?id=5f001a13-bcc2-4402-b303-5898fea1a612"/&gt;&lt;/div&gt;</description>
      <comments>http://www.human-debugger.net/blog/CommentView,guid,5f001a13-bcc2-4402-b303-5898fea1a612.aspx</comments>
      <category>Life</category>
      <category>My Site</category>
      <category>Software Development</category>
    </item>
    <item>
      <trackback:ping>http://www.human-debugger.net/blog/Trackback.aspx?guid=c3f5c330-eef4-4a20-804c-e2a02c0183a3</trackback:ping>
      <pingback:server>http://www.human-debugger.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.human-debugger.net/blog/PermaLink,guid,c3f5c330-eef4-4a20-804c-e2a02c0183a3.aspx</pingback:target>
      <dc:creator>Shani Raba</dc:creator>
      <wfw:comment>http://www.human-debugger.net/blog/CommentView,guid,c3f5c330-eef4-4a20-804c-e2a02c0183a3.aspx</wfw:comment>
      <wfw:commentRss>http://www.human-debugger.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=c3f5c330-eef4-4a20-804c-e2a02c0183a3</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <title>StringTemplate Introduction</title>
      <guid isPermaLink="false">http://www.human-debugger.net/blog/PermaLink,guid,c3f5c330-eef4-4a20-804c-e2a02c0183a3.aspx</guid>
      <link>http://www.human-debugger.net/blog/2009/07/08/StringTemplateIntroduction.aspx</link>
      <pubDate>Wed, 08 Jul 2009 07:13:57 GMT</pubDate>
      <description>&lt;div&gt;&lt;p&gt;For more background about when we use this API you can read my last post about &lt;a href="http://www.human-debugger.net/blog/2009/06/07/RenderingObjectsToHtml.aspx"&gt;Rendering Objects to Html&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Simple Rendering of query:&lt;/strong&gt;&lt;/p&gt; &lt;div&gt; &lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   1:&lt;/span&gt; var query = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; StringTemplate(&lt;span style="color: #006080"&gt;"SELECT $column$ FROM $table$;"&lt;/span&gt;);&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   2:&lt;/span&gt; query.SetAttribute(&lt;span style="color: #006080"&gt;"column"&lt;/span&gt;, &lt;span style="color: #006080"&gt;"name"&lt;/span&gt;);&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   3:&lt;/span&gt; query.SetAttribute(&lt;span style="color: #006080"&gt;"table"&lt;/span&gt;, &lt;span style="color: #006080"&gt;"User"&lt;/span&gt;);&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   4:&lt;/span&gt; var data = query.ToString();&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div&gt;We will refactor this sample to handle the queries from an outside source:&lt;/div&gt;
&lt;div&gt;
&lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   1:&lt;/span&gt; var group = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; StringTemplateGroup(&lt;span style="color: #006080"&gt;"SimpleTemplates"&lt;/span&gt;,&lt;span style="color: #006080"&gt;@"C:\Templates\TemplateEngineTestCase"&lt;/span&gt;);&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   2:&lt;/span&gt; var query = group.GetInstanceOf(&lt;span style="color: #006080"&gt;"1_simple"&lt;/span&gt;);&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   3:&lt;/span&gt; query.SetAttribute(&lt;span style="color: #006080"&gt;"column"&lt;/span&gt;, &lt;span style="color: #006080"&gt;"name"&lt;/span&gt;);&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   4:&lt;/span&gt; query.SetAttribute(&lt;span style="color: #006080"&gt;"table"&lt;/span&gt;, &lt;span style="color: #006080"&gt;"User"&lt;/span&gt;);&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   5:&lt;/span&gt; var data = query.ToString();&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div&gt;Rows 1,2 - loading the template data from a source file.&amp;nbsp; &lt;/div&gt;
&lt;div&gt;Here is the Template (1_simple.st):&lt;/div&gt;
&lt;div&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;//1_simple.st
SELECT $column$ FROM $table$;&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;strong&gt;Template Anonymous Type:&lt;/strong&gt;&lt;/div&gt;
&lt;p&gt;In the last template usage (1_simple.st) We bind the parameters using strings only. but we also have a better options: let's assume we wrote down such template:&lt;/p&gt;
&lt;div&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;//2_simpleObjects.st
Full Name: $Person.FirstName$ - $Person.LastName$&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;But let's assume that we don't have the Person class\instance, we can simply write it using the anonymous types:&lt;/p&gt;
&lt;div&gt;
&lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   1:&lt;/span&gt; var user = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; {FirstName = &lt;span style="color: #006080"&gt;"Shani"&lt;/span&gt;, LastName = &lt;span style="color: #006080"&gt;"Raba"&lt;/span&gt;};&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   2:&lt;/span&gt; var group = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; StringTemplateGroup(&lt;span style="color: #006080"&gt;"OOTempaltes"&lt;/span&gt;, &lt;span style="color: #006080"&gt;@"C:\Templates\TemplateEngineTestCase"&lt;/span&gt;);&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   3:&lt;/span&gt; var query = group.GetInstanceOf(&lt;span style="color: #006080"&gt;"2_simpleObjects"&lt;/span&gt;);&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   4:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   5:&lt;/span&gt; query.SetAttribute(&lt;span style="color: #006080"&gt;"Person"&lt;/span&gt;, user);&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div&gt;You can also use this kind of bindings for setting template-attributes from each one of the Person sub-classes.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;Template list:&lt;/strong&gt;&lt;/div&gt;
&lt;p&gt;Till now it is all pretty simple to implement by yourself, but the real issue here is the List binding feature.&lt;br&gt;You can write such template:&lt;/p&gt;
&lt;div&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;//3_simpleLoop.st
$items: {num1|
    &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;li&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;$num1$&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;li&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;
    }$
$end$&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;and bind the list using this code:&lt;/p&gt;
&lt;div&gt;
&lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   1:&lt;/span&gt; var templateFolder = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; StringTemplateGroup(&lt;span style="color: #006080"&gt;"SimpleLoopTemplates"&lt;/span&gt;, &lt;span style="color: #006080"&gt;@"C:\Tempaltes\TemplateEngineTestCase"&lt;/span&gt;);&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   2:&lt;/span&gt; var template = templateFolder.GetInstanceOf(&lt;span style="color: #006080"&gt;"3_simpleLoop"&lt;/span&gt;);&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   3:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   4:&lt;/span&gt; template.SetAttribute(&lt;span style="color: #006080"&gt;"items"&lt;/span&gt;, &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; List&amp;lt;&lt;span style="color: #0000ff"&gt;string&lt;/span&gt;&amp;gt; {&lt;span style="color: #006080"&gt;"Shani"&lt;/span&gt;, &lt;span style="color: #006080"&gt;"Doron"&lt;/span&gt;, &lt;span style="color: #006080"&gt;"Nati"&lt;/span&gt;, &lt;span style="color: #006080"&gt;"Yossi"&lt;/span&gt;});&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Conclusion:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The code is pretty simple, the templates engine implements good functionality and is well documented. 
&lt;li&gt;The StringTemplate syntax is easy to learn and well documented. 
&lt;li&gt;I still don't like it when I need to learn a new language\syntax - it will sharpen the newbie's curve. 
&lt;li&gt;StringTemplate is missing good Object2Template Designer. &lt;/li&gt;&lt;/ul&gt;&lt;img width="0" height="0" src="http://www.human-debugger.net/blog/aggbug.ashx?id=c3f5c330-eef4-4a20-804c-e2a02c0183a3"/&gt;&lt;/div&gt;</description>
      <comments>http://www.human-debugger.net/blog/CommentView,guid,c3f5c330-eef4-4a20-804c-e2a02c0183a3.aspx</comments>
      <category>.Net 3.5</category>
      <category>Scripting Technology</category>
    </item>
    <item>
      <trackback:ping>http://www.human-debugger.net/blog/Trackback.aspx?guid=c0238451-a762-4084-b45c-e01fc5ac0729</trackback:ping>
      <pingback:server>http://www.human-debugger.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.human-debugger.net/blog/PermaLink,guid,c0238451-a762-4084-b45c-e01fc5ac0729.aspx</pingback:target>
      <dc:creator>Shani Raba</dc:creator>
      <wfw:comment>http://www.human-debugger.net/blog/CommentView,guid,c0238451-a762-4084-b45c-e01fc5ac0729.aspx</wfw:comment>
      <wfw:commentRss>http://www.human-debugger.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=c0238451-a762-4084-b45c-e01fc5ac0729</wfw:commentRss>
      <title>Israeli Scrum user group 2009 (15.07.09)</title>
      <guid isPermaLink="false">http://www.human-debugger.net/blog/PermaLink,guid,c0238451-a762-4084-b45c-e01fc5ac0729.aspx</guid>
      <link>http://www.human-debugger.net/blog/2009/06/14/IsraeliScrumUserGroup2009150709.aspx</link>
      <pubDate>Sun, 14 Jun 2009 03:42:51 GMT</pubDate>
      <description>&lt;div&gt;&lt;p&gt;Dr. Alistair Cockburn will be in Israel. &lt;br&gt;I recommend you this user-group: &lt;a href="http://72.249.86.225/Scrum-Event-150709"&gt;Scrum Event&lt;/a&gt;. come and learn from the best.&lt;/p&gt; &lt;p&gt;See you there.&lt;/p&gt;&lt;img width="0" height="0" src="http://www.human-debugger.net/blog/aggbug.ashx?id=c0238451-a762-4084-b45c-e01fc5ac0729"/&gt;&lt;/div&gt;</description>
      <comments>http://www.human-debugger.net/blog/CommentView,guid,c0238451-a762-4084-b45c-e01fc5ac0729.aspx</comments>
      <category>Software Development/Agile</category>
      <category>Software Development/Agile/Scrum</category>
    </item>
    <item>
      <trackback:ping>http://www.human-debugger.net/blog/Trackback.aspx?guid=92c5a9aa-8278-4b78-ae36-53ee76732b6a</trackback:ping>
      <pingback:server>http://www.human-debugger.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.human-debugger.net/blog/PermaLink,guid,92c5a9aa-8278-4b78-ae36-53ee76732b6a.aspx</pingback:target>
      <dc:creator>Shani Raba</dc:creator>
      <wfw:comment>http://www.human-debugger.net/blog/CommentView,guid,92c5a9aa-8278-4b78-ae36-53ee76732b6a.aspx</wfw:comment>
      <wfw:commentRss>http://www.human-debugger.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=92c5a9aa-8278-4b78-ae36-53ee76732b6a</wfw:commentRss>
      <title>Rendering Objects to Html</title>
      <guid isPermaLink="false">http://www.human-debugger.net/blog/PermaLink,guid,92c5a9aa-8278-4b78-ae36-53ee76732b6a.aspx</guid>
      <link>http://www.human-debugger.net/blog/2009/06/07/RenderingObjectsToHtml.aspx</link>
      <pubDate>Sun, 07 Jun 2009 02:48:07 GMT</pubDate>
      <description>&lt;div&gt;&lt;p&gt;&lt;strong&gt;Background:&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;We are writing a new task for the ArcGis Explorer, this task needs to place images on the globe using its X,Y coordinates.&lt;br&gt;While for each instance on the globe we need to render its details as html.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Mission:&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Rendering the objects to html, we are still didn't find the right place (on the server or on the client), but let assume that they both need to do the same job.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Ideas:&lt;/strong&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Render in code:&lt;/strong&gt;&lt;br&gt;This is the naive way of thinking. while you are first thinking about this&amp;nbsp; problem you might think to add the object an &lt;em&gt;ToHtml()&lt;/em&gt; method.&lt;br&gt;Always think about the: &lt;a href="http://www.objectmentor.com/resources/articles/srp.pdf"&gt;Single Responsibility Principle (SRP)&lt;/a&gt;.&lt;br&gt;You can still think about Writing an &lt;em&gt;HtmlWriter&lt;/em&gt; or &lt;em&gt;HtmlRenderer&lt;/em&gt; class that gets object and render the object using reflection or something else, but than you will find yourself indenting you JavaScript\html\CSS in C#, for example you can watch this code:&lt;br&gt;&lt;br&gt; &lt;div&gt; &lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   1:&lt;/span&gt; var items = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; List&amp;lt;&lt;span style="color: #0000ff"&gt;string&lt;/span&gt;&amp;gt; {&lt;span style="color: #006080"&gt;"Shani"&lt;/span&gt;, &lt;span style="color: #006080"&gt;"Doron"&lt;/span&gt;, &lt;span style="color: #006080"&gt;"Nati"&lt;/span&gt;, &lt;span style="color: #006080"&gt;"Yossi"&lt;/span&gt;};&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   2:&lt;/span&gt; var sb = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; StringBuilder();&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   3:&lt;/span&gt; items.ForEach(currentItem =&amp;gt; &lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   4:&lt;/span&gt;         sb.AppendFormat(&lt;span style="color: #006080"&gt;"&amp;lt;li&amp;gt;{0}&amp;lt;/li&amp;gt;"&lt;/span&gt;, currentItem)&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   5:&lt;/span&gt;         );&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   6:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; data = sb.ToString();&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div&gt;Let's think about the time we will need to change the UI from &lt;em&gt;&amp;lt;li&amp;gt; &lt;/em&gt;to one with style or maybe even change the list to be styled as table...&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;li&gt;&lt;strong&gt;XSL - is pretty more dynamic than code, isn't it?&lt;br&gt;&lt;/strong&gt;So we are now looking for something more dynamic, something that we can read from a file so we can give it to our designer to play with the UI.&lt;br&gt;This lead us to the second option: at my past all our reports were rendered using XSL files, personally I don't like this option.&lt;br&gt;But the main reason is that we will need to serialize our objects to XML, while in most cases all you need is to render only few fields.&lt;br&gt;
&lt;li&gt;&lt;strong&gt;Let's found another Template Engine:&lt;/strong&gt;&lt;br&gt;The first one I can think of is the MVC Engine or Brail. after some searching reading and Testing I found &lt;a href="http://www.stringtemplate.org/"&gt;StringTemplate&lt;/a&gt;.&lt;u&gt;&lt;br&gt;&lt;/u&gt;Here is a simple code for using the API:&lt;br&gt;&lt;br&gt;
&lt;div&gt;
&lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   1:&lt;/span&gt; var templateFolder = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; StringTemplateGroup(&lt;span style="color: #006080"&gt;"SimpleLoopTemplate"&lt;/span&gt;, &lt;span style="color: #006080"&gt;@"\TemplateEngineTestCase\WinApp"&lt;/span&gt;);&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   2:&lt;/span&gt; var template = templateFolder.GetInstanceOf(&lt;span style="color: #006080"&gt;"3_simpleLoop"&lt;/span&gt;);&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   3:&lt;/span&gt; &lt;span style="color: #008000"&gt;//here we are binding our list to the template&lt;/span&gt;&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   4:&lt;/span&gt; template.SetAttribute(&lt;span style="color: #006080"&gt;"items"&lt;/span&gt;, &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; List&amp;lt;&lt;span style="color: #0000ff"&gt;string&lt;/span&gt;&amp;gt; {&lt;span style="color: #006080"&gt;"Shani"&lt;/span&gt;, &lt;span style="color: #006080"&gt;"Doron"&lt;/span&gt;, &lt;span style="color: #006080"&gt;"Nati"&lt;/span&gt;, &lt;span style="color: #006080"&gt;"Yossi"&lt;/span&gt;});&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   5:&lt;/span&gt; var data = template.ToString();&lt;/pre&gt;&lt;/div&gt;&lt;br&gt;and here is the template (file name: &lt;em&gt;3_simpleLoop.st&lt;/em&gt;):&lt;br&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   1:&lt;/span&gt; $items: {num1| &lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   2:&lt;/span&gt;   &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;li&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;$num1$&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;li&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   3:&lt;/span&gt;   }$&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt;   4:&lt;/span&gt; $end$&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Conclusion:&lt;/strong&gt;&lt;/p&gt;
&lt;div&gt;The StringTemplate give us an API to solve our problem - and using such code and template we can render our Models to different Views.&lt;/div&gt;
&lt;div&gt;But is this API is easy or even stable?&lt;br&gt;&lt;br&gt;&lt;em&gt;In later posts we will see more samples using the StringTemplate.&lt;br&gt;Hopefully samples for using Brail too.&lt;/em&gt;&lt;/div&gt;&lt;img width="0" height="0" src="http://www.human-debugger.net/blog/aggbug.ashx?id=92c5a9aa-8278-4b78-ae36-53ee76732b6a"/&gt;&lt;/div&gt;</description>
      <comments>http://www.human-debugger.net/blog/CommentView,guid,92c5a9aa-8278-4b78-ae36-53ee76732b6a.aspx</comments>
      <category>.Net 3.5</category>
      <category>Software Development</category>
      <category>Software Development/Design Patterns</category>
    </item>
    <item>
      <trackback:ping>http://www.human-debugger.net/blog/Trackback.aspx?guid=52a1e744-e8eb-4443-9160-51a678a5d2f3</trackback:ping>
      <pingback:server>http://www.human-debugger.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.human-debugger.net/blog/PermaLink,guid,52a1e744-e8eb-4443-9160-51a678a5d2f3.aspx</pingback:target>
      <dc:creator>Shani Raba</dc:creator>
      <wfw:comment>http://www.human-debugger.net/blog/CommentView,guid,52a1e744-e8eb-4443-9160-51a678a5d2f3.aspx</wfw:comment>
      <wfw:commentRss>http://www.human-debugger.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=52a1e744-e8eb-4443-9160-51a678a5d2f3</wfw:commentRss>
      <title>Writing Web-Resume</title>
      <guid isPermaLink="false">http://www.human-debugger.net/blog/PermaLink,guid,52a1e744-e8eb-4443-9160-51a678a5d2f3.aspx</guid>
      <link>http://www.human-debugger.net/blog/2009/04/11/WritingWebResume.aspx</link>
      <pubDate>Sat, 11 Apr 2009 04:56:02 GMT</pubDate>
      <description>&lt;div&gt;&lt;p&gt;I've been looking around for samples and some good advices for writing resumes and found this site: &lt;a title="VisualCV" href="https://www.visualcv.com/"&gt;VisualCV&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Mostly, I like this Engineer profile: &lt;a title="http://www.visualcv.com/alex1" href="http://www.visualcv.com/alex1"&gt;http://www.visualcv.com/alex1&lt;/a&gt;&lt;br&gt;The really good part is the "code sample" section on the top-right corner...&lt;/p&gt; &lt;p&gt;Have fun...&lt;/p&gt;&lt;img width="0" height="0" src="http://www.human-debugger.net/blog/aggbug.ashx?id=52a1e744-e8eb-4443-9160-51a678a5d2f3"/&gt;&lt;/div&gt;</description>
      <comments>http://www.human-debugger.net/blog/CommentView,guid,52a1e744-e8eb-4443-9160-51a678a5d2f3.aspx</comments>
      <category>Life</category>
      <category>Software Development</category>
    </item>
    <item>
      <trackback:ping>http://www.human-debugger.net/blog/Trackback.aspx?guid=551b8389-003e-4c1d-9ab3-7d9a226da666</trackback:ping>
      <pingback:server>http://www.human-debugger.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.human-debugger.net/blog/PermaLink,guid,551b8389-003e-4c1d-9ab3-7d9a226da666.aspx</pingback:target>
      <dc:creator>Shani Raba</dc:creator>
      <wfw:comment>http://www.human-debugger.net/blog/CommentView,guid,551b8389-003e-4c1d-9ab3-7d9a226da666.aspx</wfw:comment>
      <wfw:commentRss>http://www.human-debugger.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=551b8389-003e-4c1d-9ab3-7d9a226da666</wfw:commentRss>
      <title>NTS - Net Topology Suite</title>
      <guid isPermaLink="false">http://www.human-debugger.net/blog/PermaLink,guid,551b8389-003e-4c1d-9ab3-7d9a226da666.aspx</guid>
      <link>http://www.human-debugger.net/blog/2009/04/10/NTSNetTopologySuite.aspx</link>
      <pubDate>Fri, 10 Apr 2009 21:15:45 GMT</pubDate>
      <description>&lt;div&gt;&lt;p&gt;Last month I've presented a simple newbie's tutorial about &lt;a href="http://code.google.com/p/nettopologysuite/"&gt;NTS - Net Topology Suite&lt;/a&gt;.&lt;br&gt;Here you can download the &lt;strong&gt;&lt;u&gt;&lt;a title="NTS Code Sample" href="http://www.human-debugger.net/blog/SiteData/nts/NTS.zip"&gt;code sample&lt;/a&gt;&lt;/u&gt;&lt;/strong&gt; &amp;amp; &lt;strong&gt;&lt;u&gt;&lt;a href="http://www.human-debugger.net/blog/SiteData/nts/NTS-Tutorial.ppt"&gt;presentation&lt;/a&gt;&lt;/u&gt;&lt;/strong&gt;.&lt;/p&gt; &lt;p&gt;What is it NTS (Net Topology Suite)?&lt;/p&gt; &lt;ul&gt; &lt;li&gt;implements geometry model defined in OpenGis Consortium (&lt;a href="http://www.ogc.gov.uk/"&gt;OGC&lt;/a&gt;)  &lt;li&gt;implements&amp;nbsp; simple features inside the OpenGis Consortium (&lt;a href="http://www.ogc.gov.uk/"&gt;OGC&lt;/a&gt;) as Geographic Data access  &lt;li&gt;implements Some great OGC writers as: GmlWriter (Geographic markup language), WktWriter (Well Known Text)&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;How do I know whether I need NTS:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;You are coding a GIS (Geographic Information Systems) applications  &lt;li&gt;You want to use a known Convention for Point, Polygon, Polyline etc.  &lt;li&gt;You want simple implementation for &lt;a href="http://www.ogc.gov.uk/"&gt;OGC&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;3 times No - you don't need this&lt;br&gt;3 times Yes - you &lt;strong&gt;&lt;u&gt;must&lt;/u&gt;&lt;/strong&gt; read this article and probably use it.&lt;/p&gt; &lt;p&gt;You can &lt;a href="http://www.human-debugger.net/blog/2009/04/10/LinqToXMLAndLinq2KmlBonus.aspx"&gt;read more about Kml &amp;amp; C#3.0 - at my last post&lt;/a&gt;.&lt;br&gt;I will keep posting more samples in the near future. &lt;/p&gt;&lt;img width="0" height="0" src="http://www.human-debugger.net/blog/aggbug.ashx?id=551b8389-003e-4c1d-9ab3-7d9a226da666"/&gt;&lt;/div&gt;</description>
      <comments>http://www.human-debugger.net/blog/CommentView,guid,551b8389-003e-4c1d-9ab3-7d9a226da666.aspx</comments>
      <category>.Net 3.5</category>
      <category>.Net 3.5/C#3.0</category>
      <category>GIS</category>
    </item>
    <item>
      <trackback:ping>http://www.human-debugger.net/blog/Trackback.aspx?guid=a723b5bf-eb8d-4b35-a717-2cdf1406b73f</trackback:ping>
      <pingback:server>http://www.human-debugger.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.human-debugger.net/blog/PermaLink,guid,a723b5bf-eb8d-4b35-a717-2cdf1406b73f.aspx</pingback:target>
      <dc:creator>Shani Raba</dc:creator>
      <wfw:comment>http://www.human-debugger.net/blog/CommentView,guid,a723b5bf-eb8d-4b35-a717-2cdf1406b73f.aspx</wfw:comment>
      <wfw:commentRss>http://www.human-debugger.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=a723b5bf-eb8d-4b35-a717-2cdf1406b73f</wfw:commentRss>
      <title>Linq to XML (and Linq2Kml Bonus)</title>
      <guid isPermaLink="false">http://www.human-debugger.net/blog/PermaLink,guid,a723b5bf-eb8d-4b35-a717-2cdf1406b73f.aspx</guid>
      <link>http://www.human-debugger.net/blog/2009/04/10/LinqToXMLAndLinq2KmlBonus.aspx</link>
      <pubDate>Fri, 10 Apr 2009 21:03:14 GMT</pubDate>
      <description>&lt;div&gt;&lt;p&gt;&lt;em&gt;&lt;font color="#808080"&gt;This post inspired by Gal Ochana.&lt;/font&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;Gal is a new gifted programmer at my team, she presented a great presentation about Linq to XML - you can download code &lt;strong&gt;&lt;u&gt;&lt;a title="Linq To Kml Demo" href="http://www.human-debugger.net/blog/SiteData/Linq2Xml/LinqToKmlDemo.zip"&gt;here&lt;/a&gt;&lt;/u&gt;&lt;/strong&gt;.&lt;br&gt;The great bonus at her presentation was the Linq to Kml Sample, I would like to share this with you. &lt;/p&gt; &lt;p&gt;The kml itself is an XML file at our sample it looks like this:&lt;/p&gt; &lt;div&gt; &lt;div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;   1:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color: #800000"&gt;xml&lt;/span&gt; &lt;span style="color: #ff0000"&gt;version&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="1.0"&lt;/span&gt; &lt;span style="color: #ff0000"&gt;encoding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="UTF-8"&lt;/span&gt;?&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;   2:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;kml&lt;/span&gt; &lt;span style="color: #ff0000"&gt;xmlns&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="http://www.opengis.net/kml/2.2"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;   3:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Placemark&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;    &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;   4:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;name&lt;/span&gt; &lt;span style="color: #ff0000"&gt;continent&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="America"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;America&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;name&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;    &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;   5:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;description&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;Attached to the ground. Intelligently places itself at the height of the underlying terrain.&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;description&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;    &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;   6:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Point&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;      &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;   7:&lt;/span&gt;             &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;coordinates&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;-100.0822035425683,37.42228990140251,0&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;coordinates&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;    &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;   8:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;Point&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;  &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;   9:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;Placemark&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  10:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Placemark&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;    &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  11:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;name&lt;/span&gt; &lt;span style="color: #ff0000"&gt;continent&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="Africa"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;Africa&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;name&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;    &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  12:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;description&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;Attached to the ground. Intelligently places itself at the height of the underlying terrain.&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;description&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;    &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  13:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Point&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;      &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  14:&lt;/span&gt;             &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;coordinates&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;20.0822035425683,20.42228990140251,0&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;coordinates&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;    &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  15:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;Point&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;  &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  16:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;Placemark&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  17:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Placemark&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;    &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  18:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;name&lt;/span&gt; &lt;span style="color: #ff0000"&gt;continent&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="Asia"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;Asia&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;name&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;    &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  19:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;description&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;Attached to the ground. Intelligently places itself at the height of the underlying terrain.&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;description&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;    &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  20:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Point&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;      &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  21:&lt;/span&gt;             &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;coordinates&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;42.0822035425683,33.42228990140251,0&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;coordinates&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;    &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  22:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;Point&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;  &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  23:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;Placemark&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  24:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Placemark&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;    &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  25:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;name&lt;/span&gt; &lt;span style="color: #ff0000"&gt;continent&lt;/span&gt;&lt;span style="color: #0000ff"&gt;="Europe"&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;Europe&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;name&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;    &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  26:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;description&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;Europe&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;description&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;    &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  27:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Point&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;      &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  28:&lt;/span&gt;             &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;coordinates&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;100.0822035425683,62.42228990140251,0&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;coordinates&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;    &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  29:&lt;/span&gt;         &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;Point&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;  &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  30:&lt;/span&gt;     &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;Placemark&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;  31:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;kml&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;br&gt;You can read &lt;a href="http://en.wikipedia.org/wiki/KML"&gt;more about Kml here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;br&gt;Screen-shot of the above kml in the ArcGis-Explorer:&lt;br&gt;&lt;img src="http://www.human-debugger.net/blog/SiteData/Linq2Xml/KmlWithAllContinents.JPG"&gt; &lt;/p&gt;
&lt;p&gt;You can see in the above Kml file sample the continents represented as a simple points, of course you can extend it to include polygons, poly-lines or anything else that valid within &lt;a href="http://www.opengeospatial.org/standards/kml/"&gt;KML standard&lt;/a&gt;.&lt;br&gt;The only things that differs Kml from the known Xml file is the namespace that we will need to handle in our code, let's see the query itself:&lt;/p&gt;
&lt;div&gt;
&lt;div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;   1:&lt;/span&gt; XNamespace ns = &lt;span style="color: #006080"&gt;"http://www.opengis.net/kml/2.2"&lt;/span&gt;; &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;   2:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;   3:&lt;/span&gt; XDocument kmlDoc = XDocument.Load(InputKml);&lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;   4:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;   5:&lt;/span&gt; var result = from placemark &lt;span style="color: #0000ff"&gt;in&lt;/span&gt; kmlDoc.Descendants(ns + &lt;span style="color: #006080"&gt;"Placemark"&lt;/span&gt;)&lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;   6:&lt;/span&gt;              &lt;span style="color: #0000ff"&gt;where&lt;/span&gt; (placemark.Element(ns + &lt;span style="color: #006080"&gt;"name"&lt;/span&gt;)&lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;   7:&lt;/span&gt;                              .Attribute(&lt;span style="color: #006080"&gt;"continent"&lt;/span&gt;).Value == &lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;   8:&lt;/span&gt;                              Continents.SelectedItem.ToString())&lt;/pre&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #606060"&gt;   9:&lt;/span&gt;              select placemark;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;line 1: declare the full namespace that will be used for the attributes and Tags&lt;br&gt;line 3: loading the kml input file&lt;br&gt;line 5-9: run a simple query to select a single continent, pay attention to the namespace that we concatenate for selecting the right node.&lt;/p&gt;
&lt;p&gt;Here you can see a screen-shot with the result of the above query using the "Asia" continent as the selected item.&lt;br&gt;&lt;img src="http://www.human-debugger.net/blog/SiteData/Linq2Xml/KmlWithAsiaOnly.JPG"&gt; &lt;/p&gt;
&lt;p&gt;Enjoy. &lt;/p&gt;&lt;img width="0" height="0" src="http://www.human-debugger.net/blog/aggbug.ashx?id=a723b5bf-eb8d-4b35-a717-2cdf1406b73f"/&gt;&lt;/div&gt;</description>
      <comments>http://www.human-debugger.net/blog/CommentView,guid,a723b5bf-eb8d-4b35-a717-2cdf1406b73f.aspx</comments>
      <category>.Net 3.5</category>
      <category>.Net 3.5/C#3.0</category>
      <category>.Net 3.5/LINQ</category>
      <category>GIS</category>
      <category>GIS/AGX</category>
    </item>
    <item>
      <trackback:ping>http://www.human-debugger.net/blog/Trackback.aspx?guid=7cf8a000-3915-4c92-bb47-877f56abf92d</trackback:ping>
      <pingback:server>http://www.human-debugger.net/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.human-debugger.net/blog/PermaLink,guid,7cf8a000-3915-4c92-bb47-877f56abf92d.aspx</pingback:target>
      <dc:creator>Shani Raba</dc:creator>
      <wfw:comment>http://www.human-debugger.net/blog/CommentView,guid,7cf8a000-3915-4c92-bb47-877f56abf92d.aspx</wfw:comment>
      <wfw:commentRss>http://www.human-debugger.net/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=7cf8a000-3915-4c92-bb47-877f56abf92d</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <title>Alt.Net Israel #2</title>
      <guid isPermaLink="false">http://www.human-debugger.net/blog/PermaLink,guid,7cf8a000-3915-4c92-bb47-877f56abf92d.aspx</guid>
      <link>http://www.human-debugger.net/blog/2009/03/26/AltNetIsrael2.aspx</link>
      <pubDate>Thu, 26 Mar 2009 11:50:24 GMT</pubDate>
      <description>&lt;div&gt;&lt;p&gt;Next Friday (3.4.09) will be the second alt.net conference&lt;br&gt;You can read more here &lt;a title="about alt.net" href="http://altnetpedia.com/OverviewWhatIsIt.ashx"&gt;about alt.net&lt;/a&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Registration to the &lt;a href="http://www.facebook.com/event.php?eid=58042408643"&gt;event at facebook&lt;/a&gt;&lt;/p&gt; &lt;p&gt;I'll be there.&lt;/p&gt;&lt;img width="0" height="0" src="http://www.human-debugger.net/blog/aggbug.ashx?id=7cf8a000-3915-4c92-bb47-877f56abf92d"/&gt;&lt;/div&gt;</description>
      <comments>http://www.human-debugger.net/blog/CommentView,guid,7cf8a000-3915-4c92-bb47-877f56abf92d.aspx</comments>
      <category>alt-net-israel</category>
    </item>
  </channel>
</rss>