<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Technical Musings</title>
<link>http://www.safnet.com/writing/tech/</link>
<description></description>
<language>en-us</language>
<copyright>Copyright 2010</copyright>
<lastBuildDate>Tue, 09 Feb 2010 21:36:24 -0600</lastBuildDate>
<pubDate>Tue, 02 Mar 2010 21:39:20 -0600</pubDate>
<generator>http://www.movabletype.org/?v=4.01a</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs> 


<item>
<title>Exploring .Net Code with Pex</title>
<description>A few weeks ago I stumbled upon a tool called Pex from the Microsoft Research Labs: &quot;Pex finds interesting input-output values of your methods, which you can save as a small test suite with high code coverage.&quot; Not having much...</description>
<link>http://www.safnet.com/writing/tech/archives/2010/02/exploring_net_c.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2010/02/exploring_net_c.html</guid>
<category></category>
<pubDate>Tue, 09 Feb 2010 21:36:24 -0600</pubDate>
</item>

<item>
<title>C# Extension Methods for IDataReader</title>
<description>My team often starts Tuesday morning status meetings with a round of win/learn/fun - a team-building exercise where each person gets to mention an exciting &quot;win&quot;, something they learned in the last week, or just something fun. Several weeks ago...</description>
<link>http://www.safnet.com/writing/tech/archives/2010/01/c_extension_met.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2010/01/c_extension_met.html</guid>
<category></category>
<pubDate>Mon, 18 Jan 2010 17:29:11 -0600</pubDate>
</item>

<item>
<title>Bonjour is Evil</title>
<description>I&apos;m a FireFox user, so it was only a slight inconvenience: for months Internet Explorer has not worked properly. Most of the time, it would just spin, refusing to load a page, but also refusing to timeout. I installed IE8;...</description>
<link>http://www.safnet.com/writing/tech/archives/2009/10/bonjour_is_evil.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2009/10/bonjour_is_evil.html</guid>
<category></category>
<pubDate>Thu, 15 Oct 2009 20:43:29 -0600</pubDate>
</item>

<item>
<title>SSIS Crashes When Editing OLE DB Source</title>
<description>Problem: SSIS 2005 (actually, Microsoft SQL Server Business Intelligence Studio) crashes every time you click on an OLE DB Source to edit it. (there are probably similar errors for OLE DB destinations). Solution: oddly enough, synchronize a few DLLs: Version...</description>
<link>http://www.safnet.com/writing/tech/archives/2009/09/ssis_crashes_wh.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2009/09/ssis_crashes_wh.html</guid>
<category></category>
<pubDate>Wed, 23 Sep 2009 09:49:26 -0600</pubDate>
</item>

<item>
<title>Securely Accessing Network Resources in an ASP.Net Web Service</title>
<description>Problem: You have an ASP.Net web service/site that needs to access network resources, and IIS is running in a service account that you do not want to have access to those resources. Solution: Create a custom network account and setup...</description>
<link>http://www.safnet.com/writing/tech/archives/2009/09/securely_access.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2009/09/securely_access.html</guid>
<category></category>
<pubDate>Tue, 22 Sep 2009 21:12:50 -0600</pubDate>
</item>

<item>
<title>TDD - Scenario for Red, Green, Refactor</title>
<description>Here’s a really dumb scenario that will illustrate a point about the usefulness of the “red, green, refactor” approach to testing and coding. Here’s the functionality – need to test whether or not a string has a value other than...</description>
<link>http://www.safnet.com/writing/tech/archives/2009/09/tdd_scenario_fo.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2009/09/tdd_scenario_fo.html</guid>
<category></category>
<pubDate>Thu, 03 Sep 2009 13:53:09 -0600</pubDate>
</item>

<item>
<title>Encryption, Views, and Stand-Alone Stored Procedures in the Entity Framework</title>
<description>Problem: You have an table with encrypted columns. In the ADO.Net Entity Framework, you can&#39;t directly write an update to this table, since it does not handle the encryption commands. Furthermore, the framework will not return meaningful information, since it...</description>
<link>http://www.safnet.com/writing/tech/archives/2009/08/encryption_view.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2009/08/encryption_view.html</guid>
<category></category>
<pubDate>Wed, 26 Aug 2009 11:12:48 -0600</pubDate>
</item>

<item>
<title>Closing A Cursor in SQL Catch</title>
<description>Problem: In a T-SQL script, an exception occurs while a cursor is open, resulting in the cursor never being closed. But, the exception handling wraps the entire script, not just the cursor, so there is no guarantee that the cursor...</description>
<link>http://www.safnet.com/writing/tech/archives/2009/06/closing_a_curso.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2009/06/closing_a_curso.html</guid>
<category></category>
<pubDate>Mon, 29 Jun 2009 10:42:42 -0600</pubDate>
</item>

<item>
<title>Think For One ... Second</title>
<description>What’s wrong with this code? There are unnecessary lines. So? Why care about unnecessary lines? Because it shows that the programmer was not really thinking about what he was doing. MyObject obj = someList.Find(delegate(MyObject test) { if (test.Id.Equals(packageId)) { return...</description>
<link>http://www.safnet.com/writing/tech/archives/2009/06/think_for_one_s.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2009/06/think_for_one_s.html</guid>
<category></category>
<pubDate>Sat, 20 Jun 2009 07:58:06 -0600</pubDate>
</item>

<item>
<title>Unit Testing Functions That Call Microsoft Enterprise Logging</title>
<description><![CDATA[ Problem: you have a method that logs a message using the Microsoft Patterns &amp; Practices Enterprise Library Logging Block, and you would like to write an automated unit test for it in NUnit (or Team System &ndash; solution is...]]></description>
<link>http://www.safnet.com/writing/tech/archives/2009/05/unit_testing_fu.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2009/05/unit_testing_fu.html</guid>
<category></category>
<pubDate>Wed, 27 May 2009 21:53:23 -0600</pubDate>
</item>

<item>
<title>Sub classing for automated testing</title>
<description>A few months after I first purchased it, I am still reading xUnit Test Patterns. Been reading a few pages every day – now on page 590 with a few hundred to go! I have finally arrived at the point...</description>
<link>http://www.safnet.com/writing/tech/archives/2009/04/sub_classing_fo.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2009/04/sub_classing_fo.html</guid>
<category></category>
<pubDate>Sun, 19 Apr 2009 15:55:26 -0600</pubDate>
</item>

<item>
<title>Automatic Properties in C# 3.0</title>
<description>We just upgraded our servers to support .Net 3.x, so at last I&apos;m able to start migrating some of my code. I haven&apos;t taken a close look at all the features available yet, but one that caught my eye and...</description>
<link>http://www.safnet.com/writing/tech/archives/2009/04/automatic_prope.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2009/04/automatic_prope.html</guid>
<category></category>
<pubDate>Thu, 02 Apr 2009 22:39:43 -0600</pubDate>
</item>

<item>
<title>Nice technique for modifying a subset of a List</title>
<description><![CDATA[One of my team members sent in the following piece of code, which is clearly intended to update the OrderNumber field for all objects in a List&lt;T&gt; of objects that match a particular productId. I took one look at it...]]></description>
<link>http://www.safnet.com/writing/tech/archives/2009/03/nice_technique.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2009/03/nice_technique.html</guid>
<category></category>
<pubDate>Wed, 04 Mar 2009 16:27:00 -0600</pubDate>
</item>

<item>
<title>Curly&apos;s Law and Questions for the Team</title>
<description>Coding Horror, almost two years back, christened a name for the principle variously known as &quot;don&apos;t repeat yourself,&quot; &quot;once and only once,&quot; etc.: Curly&apos;s Law. Excellent formulation of the principle. In sending this to my development team, I thought it...</description>
<link>http://www.safnet.com/writing/tech/archives/2009/02/curlys_law_and.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2009/02/curlys_law_and.html</guid>
<category></category>
<pubDate>Mon, 16 Feb 2009 12:54:02 -0600</pubDate>
</item>

<item>
<title>Unit Testing - Code Coverage and Separation of Layers</title>
<description>Lately I&#39;ve been working with my team to understand and utilize good automated unit testing strategies with NUnit. A code release I was inspecting revealed a couple of good points that seem worth expanding on: the importance of testing each...</description>
<link>http://www.safnet.com/writing/tech/archives/2009/02/unit_testing_co.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2009/02/unit_testing_co.html</guid>
<category></category>
<pubDate>Thu, 05 Feb 2009 12:13:48 -0600</pubDate>
</item>


</channel>
</rss>