﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Cool Programming</title>
    <link>http://www.kbcafe.com/csharp/</link>
    <description>Cool Programming Tips with C#</description>
    <managingEditor>webmaster@kbcafe.com</managingEditor>
    <webMaster>webmaster@kbcafe.com</webMaster>
    <pubDate>Tue, 14 Feb 2006 19:53:54 GMT</pubDate>
    <lastBuildDate>Tue, 14 Feb 2006 19:53:54 GMT</lastBuildDate>
    <copyright>Copyright 2005 Randy Charles Morin</copyright>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <url>http://www.kbcafe.com/csharp/logo.jpg</url>
      <title>Cool Programming</title>
      <link>http://www.kbcafe.com/csharp/</link>
    </image>
    <rar:archive xmlns:rar="http://tempuri.org">http://www.kbcafe.com/csharp/archive.xml</rar:archive>
    <item>
      <title>Upgrade to .NET 2.0</title>
      <description>&lt;P&gt;This last weekend, I upgrading the production Rmail servers to include .NET 2.0. The results of this should be read by someone at Microsoft, who should in turn kick a cow-orker. Here's the steps.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Type "&lt;A href="http://www.google.com/search?q=%2Enet+2%2E0+download"&gt;.net 2.0 download&lt;/A&gt;" at Google. 
&lt;LI&gt;First result is &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=B7ADC595-717C-4EF7-817B-BDEFD6947019&amp;amp;displaylang=en"&gt;unavailable&lt;/A&gt;. 
&lt;LI&gt;Second result was for &lt;A href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=7ABD8C8F-287E-4C7E-9A4A-A4ECFF40FC8E"&gt;Beta 2&lt;/A&gt;, not the production release. I found this out only after&amp;nbsp;a full hour installation was&amp;nbsp;complete, which meant a complete uninstall and restart. 
&lt;LI&gt;Oh there's the real &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&amp;amp;displaylang=en"&gt;.net 2.0 download&lt;/A&gt;. &amp;lt;&amp;lt; supplied Google juice to make this the #1&amp;nbsp;result in the future. 
&lt;LI&gt;Another full hour installation complete. 
&lt;LI&gt;It works!&lt;/LI&gt;&lt;/OL&gt;</description>
      <link>http://www.kbcafe.com/csharp/?guid=20060214115304</link>
      <pubDate>Tue, 14 Feb 2006 19:53:04 GMT</pubDate>
      <guid>http://www.kbcafe.com/csharp/?guid=20060214115304</guid>
      <comments>http://www.kbcafe.com/csharp/?guid=20060214115304</comments>
      <trackback:ping xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">http://www.kbcafe.com/csharp/trackback.aspx?guid=20060214115304</trackback:ping>
      <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.kbcafe.com/csharp/commentapi.aspx?guid=20060214115304</wfw:comment>
      <wfw:commentRSS xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.kbcafe.com/csharp/20060214115304.xml</wfw:commentRSS>
      <category>.net</category>
      <category>upgrade</category>
    </item>
    <item>
      <title>Googlepark: The Spaghetti Code</title>
      <description>&lt;P align=left&gt;Check out the latest installment of &lt;A href="http://channel9.msdn.com/ShowPost.aspx?PostID=162360"&gt;Googlepark&lt;/A&gt;.&lt;/P&gt;
&lt;P align=center&gt;&lt;A href="http://imageshack.us/"&gt;&lt;IMG alt="Image Hosted by ImageShack.us" src="http://img109.imageshack.us/img109/3785/googleparkspaghetti1pr.jpg" width=385 border=0&gt;&lt;/A&gt;&lt;/P&gt;&lt;A href="http://channel9.msdn.com/ShowPost.aspx?PostID=162360"&gt;http://channel9.msdn.com/ShowPost.aspx?PostID=162360&lt;/A&gt;</description>
      <link>http://www.kbcafe.com/csharp/?guid=20060214094115</link>
      <pubDate>Tue, 14 Feb 2006 17:41:15 GMT</pubDate>
      <guid>http://www.kbcafe.com/csharp/?guid=20060214094115</guid>
      <comments>http://www.kbcafe.com/csharp/?guid=20060214094115</comments>
      <trackback:ping xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">http://www.kbcafe.com/csharp/trackback.aspx?guid=20060214094115</trackback:ping>
      <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.kbcafe.com/csharp/commentapi.aspx?guid=20060214094115</wfw:comment>
      <wfw:commentRSS xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.kbcafe.com/csharp/20060214094115.xml</wfw:commentRSS>
      <category>google</category>
    </item>
    <item>
      <title>HTTP 301 Redirect in ASP.NET</title>
      <description>&lt;P&gt;Took a few Google searches to find this. How TODO an HTTP 301 permanent redirect in ASP.NET.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class=constant&gt;Response&lt;/SPAN&gt;&lt;SPAN class=punct&gt;.&lt;/SPAN&gt;&lt;SPAN class=ident&gt;Status&lt;/SPAN&gt; &lt;SPAN class=punct&gt;=&lt;/SPAN&gt; &lt;SPAN class=punct&gt;"&lt;/SPAN&gt;&lt;SPAN class=string&gt;301 Moved Permanently&lt;/SPAN&gt;&lt;SPAN class=punct&gt;";&lt;/SPAN&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class=ident&gt;Response&lt;/SPAN&gt;&lt;SPAN class=punct&gt;.&lt;/SPAN&gt;&lt;SPAN class=ident&gt;AddHeader&lt;/SPAN&gt;&lt;SPAN class=punct&gt;("&lt;/SPAN&gt;&lt;SPAN class=string&gt;Location&lt;/SPAN&gt;&lt;SPAN class=punct&gt;",&lt;/SPAN&gt; &lt;SPAN class=punct&gt;"&lt;/SPAN&gt;&lt;SPAN class=string&gt;http://www.new-url.com&lt;/SPAN&gt;&lt;SPAN class=punct&gt;");&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.bigbold.com/snippets/posts/show/1295"&gt;http://www.bigbold.com/snippets/posts/show/1295&lt;/A&gt;&lt;/P&gt;</description>
      <link>http://www.kbcafe.com/csharp/?guid=20060207072423</link>
      <pubDate>Tue, 07 Feb 2006 15:24:23 GMT</pubDate>
      <guid>http://www.kbcafe.com/csharp/?guid=20060207072423</guid>
      <comments>http://www.kbcafe.com/csharp/?guid=20060207072423</comments>
      <trackback:ping xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">http://www.kbcafe.com/csharp/trackback.aspx?guid=20060207072423</trackback:ping>
      <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.kbcafe.com/csharp/commentapi.aspx?guid=20060207072423</wfw:comment>
      <wfw:commentRSS xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.kbcafe.com/csharp/20060207072423.xml</wfw:commentRSS>
      <category>http</category>
      <category>301</category>
      <category>redirect</category>
      <category>asp.net</category>
    </item>
    <item>
      <title>.NET XPath preceding-sibling following-sibling</title>
      <description>&lt;P&gt;I tried adding a Next Previous buttons to one of my blogs. As the layout of my blogs is done by applying an XSLT to the RSS, I dreamed up the following code.&lt;/P&gt;&lt;FONT color=#008000 size=2&gt;
&lt;P&gt;&amp;lt;xsl:if test="following-sibling::item"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;span style="font-size:x-small;"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:element name="a"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:attribute name="href"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:value-of select="following-sibling::item[position()=1]/guid"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:attribute&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:text&amp;gt;&amp;amp;lt;&amp;amp;lt; Previous&amp;lt;/xsl:text&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xsl:element&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/span&amp;gt;&lt;BR&gt;&amp;lt;/xsl:if&amp;gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;My blog became unresponsive. Removing the code and things returned to normal. This was the first time I used following-silbing in .NET 1.1. It would seem to need a bit of optimizing. I pray that was done for .NET 2.0.&lt;/P&gt;</description>
      <link>http://www.kbcafe.com/csharp/?guid=20060202100932</link>
      <pubDate>Thu, 02 Feb 2006 18:09:32 GMT</pubDate>
      <guid>http://www.kbcafe.com/csharp/?guid=20060202100932</guid>
      <comments>http://www.kbcafe.com/csharp/?guid=20060202100932</comments>
      <trackback:ping xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">http://www.kbcafe.com/csharp/trackback.aspx?guid=20060202100932</trackback:ping>
      <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.kbcafe.com/csharp/commentapi.aspx?guid=20060202100932</wfw:comment>
      <wfw:commentRSS xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.kbcafe.com/csharp/20060202100932.xml</wfw:commentRSS>
      <category>.net</category>
      <category>xpath</category>
    </item>
  </channel>
</rss>
