<?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>Matt Tester</title>
    <link>http://www.pureblue.co.nz/blog/</link>
    <description>.NET and other things</description>
    <language>en-us</language>
    <copyright>Matthew Tester</copyright>
    <lastBuildDate>Sun, 18 Feb 2007 20:00:45 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.0.0.0</generator>
    <managingEditor>matt@pureblue.co.nz</managingEditor>
    <webMaster>matt@pureblue.co.nz</webMaster>
    <item>
      <trackback:ping>http://www.pureblue.co.nz/blog/Trackback.aspx?guid=a24fecc5-5329-48c0-badd-490345d725f8</trackback:ping>
      <pingback:server>http://www.pureblue.co.nz/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.pureblue.co.nz/blog/PermaLink,guid,a24fecc5-5329-48c0-badd-490345d725f8.aspx</pingback:target>
      <dc:creator>matt@pureblue.co.nz (Matt Tester)</dc:creator>
      <wfw:comment>http://www.pureblue.co.nz/blog/CommentView,guid,a24fecc5-5329-48c0-badd-490345d725f8.aspx</wfw:comment>
      <wfw:commentRss>http://www.pureblue.co.nz/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=a24fecc5-5329-48c0-badd-490345d725f8</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      I've been meaning to look more into building a Sidebar Gadget in Vista for a while
      now. I just happened to come across a post from <a href="http://www.nikhilk.net/">Nikhil
      Kothari's</a> blog entitled <a href="http://www.nikhilk.net/Entry.aspx?id=153">Authoring
      Sidebar Gadgets in C#</a>. I don't really have the time to the follow longer, in-depth
      tutorials you see around and was interested to see how his Script# project allowed
      the use of C# when building a Gadget. Worth a closer look I think.
   </p>
        <img width="0" height="0" src="http://www.pureblue.co.nz/blog/aggbug.ashx?id=a24fecc5-5329-48c0-badd-490345d725f8" />
        <br />
        <hr />
   Pure Blue Consulting Ltd.</body>
      <title>Authoring Sidebar Gadgets in C#</title>
      <guid>http://www.pureblue.co.nz/blog/PermaLink,guid,a24fecc5-5329-48c0-badd-490345d725f8.aspx</guid>
      <link>http://www.pureblue.co.nz/blog/Authoring+Sidebar+Gadgets+In+C.aspx</link>
      <pubDate>Sun, 18 Feb 2007 20:00:45 GMT</pubDate>
      <description>&lt;p&gt;
   I've been meaning to look more into building a Sidebar Gadget in Vista for a while
   now. I just happened to come across a post from &lt;a href="http://www.nikhilk.net/"&gt;Nikhil
   Kothari's&lt;/a&gt; blog entitled &lt;a href="http://www.nikhilk.net/Entry.aspx?id=153"&gt;Authoring
   Sidebar Gadgets in C#&lt;/a&gt;. I don't really have the time to the follow longer, in-depth
   tutorials you see around and was interested to see how his Script# project allowed
   the use of C# when building a Gadget. Worth a closer look I think.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.pureblue.co.nz/blog/aggbug.ashx?id=a24fecc5-5329-48c0-badd-490345d725f8" /&gt;
&lt;br /&gt;
&lt;hr /&gt;Pure Blue Consulting Ltd.</description>
      <comments>http://www.pureblue.co.nz/blog/CommentView,guid,a24fecc5-5329-48c0-badd-490345d725f8.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.pureblue.co.nz/blog/Trackback.aspx?guid=c70965bc-015b-4306-a5a9-1928962cc8c5</trackback:ping>
      <pingback:server>http://www.pureblue.co.nz/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.pureblue.co.nz/blog/PermaLink,guid,c70965bc-015b-4306-a5a9-1928962cc8c5.aspx</pingback:target>
      <dc:creator>matt@pureblue.co.nz (Matt Tester)</dc:creator>
      <wfw:comment>http://www.pureblue.co.nz/blog/CommentView,guid,c70965bc-015b-4306-a5a9-1928962cc8c5.aspx</wfw:comment>
      <wfw:commentRss>http://www.pureblue.co.nz/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=c70965bc-015b-4306-a5a9-1928962cc8c5</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      As your solution grows, the number of assemblies you have will undoubtedly grow too.
      Updating the version numbers of all those assemblies by their projects AssemblyInfo.cs
      files can be a hassle. However, there is a way to change the version in just one file,
      but have that change affect all project assemblies!
   </p>
        <p>
      By using a “link” file in your projects, you can include a file from a shared location
      that contains only the version information.
   </p>
        <ul>
          <li>
         Add a new file named VersionInfo.cs 
      </li>
          <li>
         Add to this file only the version information from an existing AssemblyInfo.cs file 
         <div><img alt="Screenshot showing sample VersionInfo.cs" src="http://www.pureblue.co.nz/blog/content/binary/VersionInfo%20file.png" border="0" />&lt;
         </div></li>
          <li>
         Add VersionInfo.cs as a solution item</li>
        </ul>
        <p>
      Now, for each project that you wish to include this version information: 
   </p>
        <ul>
          <li>
         Select “Add Existing Item…” on the project menu 
      </li>
          <li>
         Browse to VersionInfo.cs file 
      </li>
          <li>
         Click the down arrow on the “Add” button and choose “Add as Link” 
         <div><img alt="Screenshot showing 'Add As Link' button" src="http://www.pureblue.co.nz/blog/content/binary/Add%20As%20Link.png" border="0" /></div><div>The file will have the shortcut icon when you look at the project files. 
         </div><div><img alt="Screenshot showing VersionInfo.cs in soultion" src="http://www.pureblue.co.nz/blog/content/binary/Solution%20view.png" border="0" /></div></li>
          <li>
         Remove any version information from existing AssemblyInfo.cs</li>
        </ul>
        <p>
      When then assembly is built it will essentially have the combined attribute values
      from the AssemblyInfo.cs and VersionInfo.cs file.
   </p>
        <p>
      Now you only have to change the version in one place and all projects will get it
      :-)
   </p>
        <img width="0" height="0" src="http://www.pureblue.co.nz/blog/aggbug.ashx?id=c70965bc-015b-4306-a5a9-1928962cc8c5" />
        <br />
        <hr />
   Pure Blue Consulting Ltd.</body>
      <title>Sharing version info throughout a solution with link files</title>
      <guid>http://www.pureblue.co.nz/blog/PermaLink,guid,c70965bc-015b-4306-a5a9-1928962cc8c5.aspx</guid>
      <link>http://www.pureblue.co.nz/blog/Sharing+Version+Info+Throughout+A+Solution+With+Link+Files.aspx</link>
      <pubDate>Mon, 05 Feb 2007 21:47:37 GMT</pubDate>
      <description>&lt;p&gt;
   As your solution grows, the number of assemblies you have will undoubtedly grow too.
   Updating the version numbers of all those assemblies by their projects AssemblyInfo.cs
   files can be a hassle. However, there is a way to change the version in just one file,
   but have that change affect all project assemblies!
&lt;/p&gt;
&lt;p&gt;
   By using a “link” file in your projects, you can include a file from a shared location
   that contains only the version information.
&lt;/p&gt;
&lt;ul&gt;
   &lt;li&gt;
      Add a new file named VersionInfo.cs 
   &lt;li&gt;
      Add to this file only the version information from an existing AssemblyInfo.cs file 
      &lt;div&gt;&lt;img alt="Screenshot showing sample VersionInfo.cs" src="http://www.pureblue.co.nz/blog/content/binary/VersionInfo%20file.png" border=0&gt;&amp;lt;
      &lt;/div&gt;
   &lt;li&gt;
      Add VersionInfo.cs as a solution item&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
   Now, for each project that you wish to include this version information: 
&lt;/p&gt;
&lt;ul&gt;
   &lt;li&gt;
      Select “Add Existing Item…” on the project menu 
   &lt;li&gt;
      Browse to VersionInfo.cs file 
   &lt;li&gt;
      Click the down arrow on the “Add” button and choose “Add as Link” 
      &lt;div&gt;&lt;img alt="Screenshot showing 'Add As Link' button" src="http://www.pureblue.co.nz/blog/content/binary/Add%20As%20Link.png" border=0&gt;
      &lt;/div&gt;
      &lt;div&gt;The file will have the shortcut icon when you look at the project files. 
      &lt;/div&gt;
      &lt;div&gt;&lt;img alt="Screenshot showing VersionInfo.cs in soultion" src="http://www.pureblue.co.nz/blog/content/binary/Solution%20view.png" border=0&gt;
      &lt;/div&gt;
   &lt;li&gt;
      Remove any version information from existing AssemblyInfo.cs&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
   When then assembly is built it will essentially have the combined attribute values
   from the AssemblyInfo.cs and VersionInfo.cs file.
&lt;/p&gt;
&lt;p&gt;
   Now you only have to change the version in one place and all projects will get it
   :-)
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.pureblue.co.nz/blog/aggbug.ashx?id=c70965bc-015b-4306-a5a9-1928962cc8c5" /&gt;
&lt;br /&gt;
&lt;hr /&gt;Pure Blue Consulting Ltd.</description>
      <comments>http://www.pureblue.co.nz/blog/CommentView,guid,c70965bc-015b-4306-a5a9-1928962cc8c5.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.pureblue.co.nz/blog/Trackback.aspx?guid=694ca98a-8877-4a9f-8619-e3691ae665e0</trackback:ping>
      <pingback:server>http://www.pureblue.co.nz/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.pureblue.co.nz/blog/PermaLink,guid,694ca98a-8877-4a9f-8619-e3691ae665e0.aspx</pingback:target>
      <dc:creator>matt@pureblue.co.nz (Matt Tester)</dc:creator>
      <wfw:comment>http://www.pureblue.co.nz/blog/CommentView,guid,694ca98a-8877-4a9f-8619-e3691ae665e0.aspx</wfw:comment>
      <wfw:commentRss>http://www.pureblue.co.nz/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=694ca98a-8877-4a9f-8619-e3691ae665e0</wfw:commentRss>
      <title>Upgraded to NMock 2.0</title>
      <guid>http://www.pureblue.co.nz/blog/PermaLink,guid,694ca98a-8877-4a9f-8619-e3691ae665e0.aspx</guid>
      <link>http://www.pureblue.co.nz/blog/Upgraded+To+NMock+20.aspx</link>
      <pubDate>Sun, 19 Nov 2006 17:54:22 GMT</pubDate>
      <description>&lt;p&gt;
   &lt;span style="FONT-SIZE: 12pt"&gt;&lt;?xml:namespace prefix = o /&gt;
   &lt;o:p&gt;

&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
   &lt;span lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-US"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;I’ve
   been using NMock 1.0 as part of my normal TDD (Test Driven Development) routine for
   a while now. I’d heard that there was a new version available&amp;nbsp;a couple of months
   ago,&amp;nbsp;but I saw no benefit in making the switch. For a start, the syntax was radically
   different and I was reluctant to invest time in seeing how to use it.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
   &lt;span lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-US"&gt;
   &lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
   &lt;span lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-US"&gt;Well,
   I finally got around to using NMock 2.0 and after much searching, found a link to
   the site:&lt;span style="COLOR: blue"&gt;&amp;nbsp;&lt;a title=http://nmock.sourceforge.net/ href="http://nmock.sourceforge.net/"&gt;http://nmock.sourceforge.net&lt;/a&gt;. 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
   &lt;span lang=EN-US style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial; mso-ansi-language: EN-US"&gt;
   &lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
   &lt;span lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-US"&gt;That
   link was surprisingly difficult to track down I can tell you … numerous dead-links
   and empty websites all over the place! I had to cheat in the end and ask a friend
   for it (thanks Neil)!&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
   &lt;span lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-US"&gt;
   &lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
   &lt;span lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-US"&gt;The
   new syntax has grown on me after an initial distaste for it. It may look more complicated
   and cumbersome than previously, but it is actually more usable once you get into it.
   The only issue I have with it is that the failure messages are very verbose, which
   can make it a little difficult to see what is going on, but I guess you get used to
   that too. &lt;/span&gt;
&lt;/p&gt;
&gt;
&gt;&lt;img width="0" height="0" src="http://www.pureblue.co.nz/blog/aggbug.ashx?id=694ca98a-8877-4a9f-8619-e3691ae665e0" /&gt;
&lt;br /&gt;
&lt;hr /&gt;Pure Blue Consulting Ltd.</description>
      <comments>http://www.pureblue.co.nz/blog/CommentView,guid,694ca98a-8877-4a9f-8619-e3691ae665e0.aspx</comments>
      <category>.NET;TDD</category>
    </item>
    <item>
      <trackback:ping>http://www.pureblue.co.nz/blog/Trackback.aspx?guid=d9acfd24-8269-4858-a2cc-4bf9f3697666</trackback:ping>
      <pingback:server>http://www.pureblue.co.nz/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.pureblue.co.nz/blog/PermaLink,guid,d9acfd24-8269-4858-a2cc-4bf9f3697666.aspx</pingback:target>
      <dc:creator>matt@pureblue.co.nz (Matt Tester)</dc:creator>
      <wfw:comment>http://www.pureblue.co.nz/blog/CommentView,guid,d9acfd24-8269-4858-a2cc-4bf9f3697666.aspx</wfw:comment>
      <wfw:commentRss>http://www.pureblue.co.nz/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=d9acfd24-8269-4858-a2cc-4bf9f3697666</wfw:commentRss>
      <title>Testing SMTP mail without sending an email to all your customers!</title>
      <guid>http://www.pureblue.co.nz/blog/PermaLink,guid,d9acfd24-8269-4858-a2cc-4bf9f3697666.aspx</guid>
      <link>http://www.pureblue.co.nz/blog/Testing+SMTP+Mail+Without+Sending+An+Email+To+All+Your+Customers.aspx</link>
      <pubDate>Fri, 17 Nov 2006 00:04:22 GMT</pubDate>
      <description>&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;When
   you're developing and testing your system, you'll want to test that any emails sent
   are actually being sent to the SMTP server correctly: the html format is all ok; email
   from and email to are correct; etc.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;
   &lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;An easy way to
   do this is by&amp;nbsp;configuring .NET to drop the emails you send to a specific folder.
   As long as you’re sending your emails via SmtpClient and are configuring it via the
   web.config file (if not, why not?), the following configuration section will set up
   the email folder:&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;
   &lt;span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;&amp;lt;system.net&amp;gt;&lt;br&gt;
   &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;mailSettings&amp;gt;&lt;br&gt;
   &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;smtp deliveryMethod=&lt;span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4"&gt;"SpecifiedPickupDirectory"&lt;/span&gt;&amp;gt;&lt;br&gt;
   &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;specifiedPickupDirectory
   pickupDirectoryLocation=&lt;span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4"&gt;"C:\Temp\EmailPickupFolder"&lt;/span&gt;/&amp;gt;&lt;br&gt;
   &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/smtp&amp;gt;&lt;br&gt;
   &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/mailSettings&amp;gt;&lt;br&gt;
   &amp;lt;/system.net&amp;gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;If you then browse
   to the folder, you’ll see files like below. When opened in notepad, you’ll see the
   email in it’s raw format, or if you need to check any Html formatting, you can open
   it in Outlook Express.&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;&lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
   &lt;img alt="Notepad View" src="http://www.pureblue.co.nz/blog/content/binary/notepadEmail.gif" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
   &lt;img alt="Outlook Express View" src="http://www.pureblue.co.nz/blog/content/binary/expressEmail.gif" border=0&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.pureblue.co.nz/blog/aggbug.ashx?id=d9acfd24-8269-4858-a2cc-4bf9f3697666" /&gt;
&lt;br /&gt;
&lt;hr /&gt;Pure Blue Consulting Ltd.</description>
      <comments>http://www.pureblue.co.nz/blog/CommentView,guid,d9acfd24-8269-4858-a2cc-4bf9f3697666.aspx</comments>
      <category>.NET;ASP.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.pureblue.co.nz/blog/Trackback.aspx?guid=182db113-c024-4eb8-a2a1-a150088900a9</trackback:ping>
      <pingback:server>http://www.pureblue.co.nz/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.pureblue.co.nz/blog/PermaLink,guid,182db113-c024-4eb8-a2a1-a150088900a9.aspx</pingback:target>
      <dc:creator>matt@pureblue.co.nz (Matt Tester)</dc:creator>
      <wfw:comment>http://www.pureblue.co.nz/blog/CommentView,guid,182db113-c024-4eb8-a2a1-a150088900a9.aspx</wfw:comment>
      <wfw:commentRss>http://www.pureblue.co.nz/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=182db113-c024-4eb8-a2a1-a150088900a9</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      I always thought it was strange that the “Build Code Comments” feature was missing
      from VS2005. What with the alternative comment generators being unable to cope too
      well with .NET 2.0 code, we were left with little option. NDoc was the best of the
      lot, but still had a couple of problems with generics and it was difficult to find
      a good working version to tweak.
   </p>
        <p>
      Good news however. The first CTP of <a title="Sandcastle" href="http://blogs.msdn.com/sandcastle/">Sandcastle</a> (which
      I assume is just the codename) will be released by Microsoft <a href="http://weblogs.asp.net/fmarguerie/archive/2006/07/20/Sandcastle_2C00_-Microsoft_2700_s-replacement-for-NDoc.aspx"> later
      this month or early next.</a></p>
        <p>
      It’s what they use internally for their MSDN content so it can’t be at all bad, although
      why couldn’t it have been released sooner with the launch of VS2005 I don’t know?
   </p>
        <p>
      Interestingly too, Kevin Downs, the developer behind NDoc, has <a href="http://weblogs.asp.net/fmarguerie/archive/2006/07/20/Sandcastle_2C00_-Microsoft_2700_s-replacement-for-NDoc.aspx">apparently
      announced</a> that he is no longer going to be working on NDoc.<br /></p>
        <p>
          <b>Update:</b>
          <br />
      You can now download it from <a href="http://blogs.msdn.com/sandcastle/archive/2006/07/29/682830.aspx">here</a>.<br /></p>
        <img width="0" height="0" src="http://www.pureblue.co.nz/blog/aggbug.ashx?id=182db113-c024-4eb8-a2a1-a150088900a9" />
        <br />
        <hr />
   Pure Blue Consulting Ltd.</body>
      <title>Sandcastle - VS2005 Code Comments Page Builder</title>
      <guid>http://www.pureblue.co.nz/blog/PermaLink,guid,182db113-c024-4eb8-a2a1-a150088900a9.aspx</guid>
      <link>http://www.pureblue.co.nz/blog/Sandcastle++VS2005+Code+Comments+Page+Builder.aspx</link>
      <pubDate>Fri, 28 Jul 2006 07:18:07 GMT</pubDate>
      <description>&lt;p&gt;
   I always thought it was strange that the “Build Code Comments” feature was missing
   from VS2005. What with the alternative comment generators being unable to cope too
   well with .NET 2.0 code, we were left with little option. NDoc was the best of the
   lot, but still had a couple of problems with generics and it was difficult to find
   a good working version to tweak.
&lt;/p&gt;
&lt;p&gt;
   Good news however. The first CTP of &lt;a title="Sandcastle" href="http://blogs.msdn.com/sandcastle/"&gt;Sandcastle&lt;/a&gt; (which
   I assume is just the codename) will be released by Microsoft &lt;a href="http://weblogs.asp.net/fmarguerie/archive/2006/07/20/Sandcastle_2C00_-Microsoft_2700_s-replacement-for-NDoc.aspx"&gt; later
   this month or early next.&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
   It’s what they use internally for their MSDN content so it can’t be at all bad, although
   why couldn’t it have been released sooner with the launch of VS2005 I don’t know?
&lt;/p&gt;
&lt;p&gt;
   Interestingly too, Kevin Downs, the developer behind NDoc, has &lt;a href="http://weblogs.asp.net/fmarguerie/archive/2006/07/20/Sandcastle_2C00_-Microsoft_2700_s-replacement-for-NDoc.aspx"&gt;apparently
   announced&lt;/a&gt; that he is no longer going to be working on NDoc.&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
   &lt;b&gt;Update:&lt;/b&gt;
   &lt;br&gt;
   You can now download it from &lt;a href="http://blogs.msdn.com/sandcastle/archive/2006/07/29/682830.aspx"&gt;here&lt;/a&gt;.&lt;br&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.pureblue.co.nz/blog/aggbug.ashx?id=182db113-c024-4eb8-a2a1-a150088900a9" /&gt;
&lt;br /&gt;
&lt;hr /&gt;Pure Blue Consulting Ltd.</description>
      <comments>http://www.pureblue.co.nz/blog/CommentView,guid,182db113-c024-4eb8-a2a1-a150088900a9.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.pureblue.co.nz/blog/Trackback.aspx?guid=0f62c308-7eaa-48d2-b941-96850669892a</trackback:ping>
      <pingback:server>http://www.pureblue.co.nz/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.pureblue.co.nz/blog/PermaLink,guid,0f62c308-7eaa-48d2-b941-96850669892a.aspx</pingback:target>
      <dc:creator>matt@pureblue.co.nz (Matt Tester)</dc:creator>
      <wfw:comment>http://www.pureblue.co.nz/blog/CommentView,guid,0f62c308-7eaa-48d2-b941-96850669892a.aspx</wfw:comment>
      <wfw:commentRss>http://www.pureblue.co.nz/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=0f62c308-7eaa-48d2-b941-96850669892a</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      I was shown a nice little trick today by a collegue who was trying to debug a Windows
      Installer CustomAction. The problem of course is that you can't debug the code because
      it is being launched and controlled by the Windows Installer/MSI. The trick is to
      add the line below somewhere in the code:
   </p>
        <pre class="csharpcode">
          <p>
            <span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">System.Diagnostics.Debugger.Break();</span>
          </p>
        </pre>
        <p>
      When this line is executed an "exception" is thrown, which launches the Visual Studio
      dialog asking you if you wish to debug the process as there is an exception. Now you
      can simply attach to your Visual Studio session and debug your code as normal! Nice
      trick, that after nearly 5 years of working with .NET, I had not come across.<br /></p>
        <p>
      It's worth noting that execution will continue after the Break method is called, so
      you need to have a normal breakpoint ready when you attach to the VS session.<br /></p>
        <p>
        </p>
        <img width="0" height="0" src="http://www.pureblue.co.nz/blog/aggbug.ashx?id=0f62c308-7eaa-48d2-b941-96850669892a" />
        <br />
        <hr />
   Pure Blue Consulting Ltd.</body>
      <title>Launch the debugger in those "hard to reach" places!</title>
      <guid>http://www.pureblue.co.nz/blog/PermaLink,guid,0f62c308-7eaa-48d2-b941-96850669892a.aspx</guid>
      <link>http://www.pureblue.co.nz/blog/Launch+The+Debugger+In+Those+Hard+To+Reach+Places.aspx</link>
      <pubDate>Tue, 04 Jul 2006 09:41:06 GMT</pubDate>
      <description>&lt;p&gt;
   I was shown a nice little trick today by a collegue who was trying to debug a Windows
   Installer CustomAction. The problem of course is that you can't debug the code because
   it is being launched and controlled by the Windows Installer/MSI. The trick is to
   add the line below somewhere in the code:
&lt;/p&gt;
&lt;pre class=csharpcode&gt;
&lt;p&gt;
   &lt;span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;System.Diagnostics.Debugger.Break();&lt;/span&gt;
&lt;/p&gt;
&lt;/pre&gt;
&lt;p&gt;
   When this line is executed an "exception" is thrown, which launches the Visual Studio
   dialog asking you if you wish to debug the process as there is an exception. Now you
   can simply attach to your Visual Studio session and debug your code as normal! Nice
   trick, that after nearly 5 years of working with .NET, I had not come across.&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
   It's worth noting that execution will continue after the Break method is called, so
   you need to have a normal breakpoint ready when you attach to the VS session.&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.pureblue.co.nz/blog/aggbug.ashx?id=0f62c308-7eaa-48d2-b941-96850669892a" /&gt;
&lt;br /&gt;
&lt;hr /&gt;Pure Blue Consulting Ltd.</description>
      <comments>http://www.pureblue.co.nz/blog/CommentView,guid,0f62c308-7eaa-48d2-b941-96850669892a.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.pureblue.co.nz/blog/Trackback.aspx?guid=e7af1647-e47e-4f79-af58-acac95b912ad</trackback:ping>
      <pingback:server>http://www.pureblue.co.nz/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.pureblue.co.nz/blog/PermaLink,guid,e7af1647-e47e-4f79-af58-acac95b912ad.aspx</pingback:target>
      <dc:creator>matt@pureblue.co.nz (Matt Tester)</dc:creator>
      <wfw:comment>http://www.pureblue.co.nz/blog/CommentView,guid,e7af1647-e47e-4f79-af58-acac95b912ad.aspx</wfw:comment>
      <wfw:commentRss>http://www.pureblue.co.nz/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=e7af1647-e47e-4f79-af58-acac95b912ad</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      I discovered today that Microsoft has launched <a href="http://msdnwiki.microsoft.com">MSDN
      Wiki </a>. I was using fxCop and reading into some of the details for the rules that
      it said I was breaking :-). Normally you are taken to msdn2 help system, but was instead
      taken to the Wiki version.
   </p>
        <p>
      The core reference is taken from exactly the same database as all the other MSDN help
      systems, but currently can only seemed to be accessed via the web site. I've always
      found the online documentation from Microsoft difficult to search and navigate, so
      I tend to use the thick client version of MSDN Library. It would be good to be able
      to link to the <a href="http://msdnwiki.microsoft.com">MSDN Wiki</a> from the thick
      client (for online help searches of course) to make it a little better for searching.<br /></p>
        <p>
      All in all, it's such a great idea to be able to amend the documentation. I've lost
      count of the number of times that the .NET Compact Framework documentation was incorrect,
      misleading or just plain missing! However, until they make it easier to search, I'll
      be sticking to MSDN Library, but will be keeping tabs on the <a href="http://blogs.msdn.com/msdnwiki">blog</a> for
      updates.<br /></p>
        <img width="0" height="0" src="http://www.pureblue.co.nz/blog/aggbug.ashx?id=e7af1647-e47e-4f79-af58-acac95b912ad" />
        <br />
        <hr />
   Pure Blue Consulting Ltd.</body>
      <title>MSDN Documentation available as a Wiki</title>
      <guid>http://www.pureblue.co.nz/blog/PermaLink,guid,e7af1647-e47e-4f79-af58-acac95b912ad.aspx</guid>
      <link>http://www.pureblue.co.nz/blog/MSDN+Documentation+Available+As+A+Wiki.aspx</link>
      <pubDate>Mon, 03 Jul 2006 10:00:11 GMT</pubDate>
      <description>

&lt;p&gt;
   I discovered today that Microsoft has launched &lt;a href="http://msdnwiki.microsoft.com"&gt;MSDN
   Wiki &lt;/a&gt;. I was using fxCop and reading into some of the details for the rules that
   it said I was breaking :-). Normally you are taken to msdn2 help system, but was instead
   taken to the Wiki version.
&lt;/p&gt;
&lt;p&gt;
   The core reference is taken from exactly the same database as all the other MSDN help
   systems, but currently can only seemed to be accessed via the web site. I've always
   found the online documentation from Microsoft difficult to search and navigate, so
   I tend to use the thick client version of MSDN Library. It would be good to be able
   to link to the &lt;a href="http://msdnwiki.microsoft.com"&gt;MSDN Wiki&lt;/a&gt; from the thick
   client (for online help searches of course) to make it a little better for searching.&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
   All in all, it's such a great idea to be able to amend the documentation. I've lost
   count of the number of times that the .NET Compact Framework documentation was incorrect,
   misleading or just plain missing! However, until they make it easier to search, I'll
   be sticking to MSDN Library, but will be keeping tabs on the &lt;a href="http://blogs.msdn.com/msdnwiki"&gt;blog&lt;/a&gt; for
   updates.&lt;br&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.pureblue.co.nz/blog/aggbug.ashx?id=e7af1647-e47e-4f79-af58-acac95b912ad" /&gt;
&lt;br /&gt;
&lt;hr /&gt;Pure Blue Consulting Ltd.</description>
      <comments>http://www.pureblue.co.nz/blog/CommentView,guid,e7af1647-e47e-4f79-af58-acac95b912ad.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://www.pureblue.co.nz/blog/Trackback.aspx?guid=db0acf74-4586-4263-9b66-980c764a9c9b</trackback:ping>
      <pingback:server>http://www.pureblue.co.nz/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.pureblue.co.nz/blog/PermaLink,guid,db0acf74-4586-4263-9b66-980c764a9c9b.aspx</pingback:target>
      <dc:creator>matt@pureblue.co.nz (Matt Tester)</dc:creator>
      <wfw:comment>http://www.pureblue.co.nz/blog/CommentView,guid,db0acf74-4586-4263-9b66-980c764a9c9b.aspx</wfw:comment>
      <wfw:commentRss>http://www.pureblue.co.nz/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=db0acf74-4586-4263-9b66-980c764a9c9b</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      It's taken a while, but I finally found a blogging system that I liked. 
   </p>
        <p>
          <a href="http://www.process64.com/thinkjot/">ThinkJot</a> is an ASP.NET 2.0 version
      of the latest release of the dasBlog engine. The reason for the split is that when
      running under ASP.NET 2.0, your site is running by default under "Medium Trust" rather
      than "Full Trust", which was the case in .NET 1.1. If you're running on a shared
      host as I am here, you'll probably find that it is running under the default security
      settings. No problem you think ... well, try running dasBlog 1.8 under "Medium Trust"
      and you'll find it doesn't work! It turns out that even things such as the date picker
      used, did some things that needed to run under Full Trust. For the full story go to
      the <a href="http://www.process64.com/CategoryView,category,ThinkJot.aspx">blog</a>.
   </p>
        <p>
      That's where <a href="http://www.process64.com/thinkjot/">ThinkJot</a> comes in. It
      was simply a rebuild and tweak to make it ASP.NET 2.0 and Medium Trust friendly. I
      pass my thanks on now to the guys at Process64 who did this, you saved me a job!
   </p>
        <img width="0" height="0" src="http://www.pureblue.co.nz/blog/aggbug.ashx?id=db0acf74-4586-4263-9b66-980c764a9c9b" />
        <br />
        <hr />
   Pure Blue Consulting Ltd.</body>
      <title>Blogg running!</title>
      <guid>http://www.pureblue.co.nz/blog/PermaLink,guid,db0acf74-4586-4263-9b66-980c764a9c9b.aspx</guid>
      <link>http://www.pureblue.co.nz/blog/Blogg+Running.aspx</link>
      <pubDate>Mon, 26 Jun 2006 10:23:58 GMT</pubDate>
      <description>&lt;p&gt;
   It's taken a while, but I finally found a blogging system that I liked. 
&lt;/p&gt;
&lt;p&gt;
   &lt;a href="http://www.process64.com/thinkjot/"&gt;ThinkJot&lt;/a&gt; is an ASP.NET 2.0 version
   of the latest release of the dasBlog engine. The reason for the split is that when
   running under ASP.NET 2.0, your site is running by default under "Medium Trust" rather
   than "Full Trust", which was the case in .NET 1.1. If you're running&amp;nbsp;on a shared
   host as I am here, you'll probably find that it is running under the default security
   settings. No problem you think ... well, try running dasBlog 1.8 under "Medium Trust"
   and you'll find it doesn't work! It turns out that even things such as the date picker
   used, did some things that needed to run under Full Trust. For the full story go to
   the &lt;a href="http://www.process64.com/CategoryView,category,ThinkJot.aspx"&gt;blog&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
   That's where &lt;a href="http://www.process64.com/thinkjot/"&gt;ThinkJot&lt;/a&gt; comes in. It
   was simply a rebuild and tweak to make it ASP.NET 2.0 and Medium Trust friendly. I
   pass my thanks on now to the guys at Process64 who did this, you saved me a job!
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.pureblue.co.nz/blog/aggbug.ashx?id=db0acf74-4586-4263-9b66-980c764a9c9b" /&gt;
&lt;br /&gt;
&lt;hr /&gt;Pure Blue Consulting Ltd.</description>
      <comments>http://www.pureblue.co.nz/blog/CommentView,guid,db0acf74-4586-4263-9b66-980c764a9c9b.aspx</comments>
      <category>.NET;ASP.NET</category>
    </item>
  </channel>
</rss>