Tuesday, May 06, 2008
The Guthrie/Hanselman Conspiracy...
5/6/2008 8:14:09 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [5]  | 
 Wednesday, February 27, 2008
Free reusable generic Directory Poller utility class for .NET (especially useful when FileSystemWatcher is insufficent).
2/27/2008 3:13:32 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [5]  | 
 Wednesday, February 06, 2008
"Test Supported Development" (TSD) intends to characterize the creation of tests during ANY/ALL stages of development, that is, in TSD, tests are not necessarily created before their System Under Test (SUT), but not necessarily created at the end of development, either...
2/6/2008 1:03:27 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [6]  | 
 Wednesday, November 28, 2007
How to set up Gmail as a Free SPAM-filtering "router" for your domain email.
Tip
11/28/2007 5:43:13 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  | 
 Friday, November 09, 2007
You may not realize that System.IO.File.Move() doesn't support overwriting of an existing file. In fact, it will throw an IOException if a file with the same path as sourceDestFilename already exists. Here is a wrapper method that does...
11/9/2007 12:29:32 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  | 
 Monday, October 08, 2007
Example of how to overload operators in C#
.NET | C_Sharp | NUnit
10/8/2007 2:35:32 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  | 
 Friday, October 05, 2007
Attain concise, highly-readable Ruby-like date syntax with C# 3.0 Extension Methods and Fluent Interface design.
10/5/2007 4:23:31 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  | 
 Thursday, September 13, 2007
A response to devizen's "Programming Can Ruin Your Life" essay.
9/13/2007 10:17:30 AM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  | 
 Tuesday, August 21, 2007
Example code illustrating how to build a Fluent Interface in C#.
8/21/2007 3:01:37 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [11]  | 
 Monday, August 20, 2007
Instead of using a different Assert method for each different type of assertion (e.g.: Assert.AreEqual() for equality comparison, or Assert.IsTrue() for boolean evaluation), the new Constraint-Based Assert Model introduced in NUnit 2.4 utilizes only one Assert method named Assert.That().
.NET | ASP.NET | C_Sharp | NUnit
8/20/2007 10:55:20 AM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  | 
 Thursday, August 09, 2007
You may be familiar with ROW_NUMBER(), but did you know you'll also need to combine that with a Common Table Expression (CTE) to paginate through your records?
8/9/2007 8:16:44 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  | 
 Wednesday, May 23, 2007
Six Free Custom .NET String Manipulation Functions / Methods for Everyday Use
.NET | ASP.NET | C_Sharp
5/23/2007 12:11:07 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  | 
 Thursday, February 15, 2007
Free helper method to convert a SQL query to CSV format for easy output to a file, the console, or via a HttpResponse (for you ASP.NETers out there looking for an easy way to dynamically output a CSV for real-time data download).
.NET | ASP.NET | MS SQL | NUnit | VB.NET
2/15/2007 6:17:33 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  | 
 Wednesday, February 14, 2007
Free SQL Server 2000/2005 function that will calculate the distance in miles between 2 latitude/longitude points for zip or address raduis search, etc.
2/14/2007 10:53:04 AM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [6]  | 
 Wednesday, January 31, 2007
Free .NET code that converts the contents of an ArrayList to a delimited string
.NET | ASP.NET | NUnit | VB.NET
1/31/2007 12:11:02 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  | 
 Friday, December 08, 2006
Free code that determines if 2 lists (any objects that implement the IList interface, such as Array, ArrayList, ListBox, etc.) contain the same objects or value types.
.NET | ASP.NET | VB.NET | NUnit
12/8/2006 2:30:14 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  | 
 Tuesday, September 26, 2006
Depending on your math background, .NET's rounding functionality may not work the way you expect! Check out the included code to implement an alternative (known as Common Rounding) in addition to .NET's built-in Math.Round() function.
.NET | ASP.NET | C_Sharp | VB.NET
9/26/2006 4:58:34 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [2]  | 
 Friday, January 20, 2006
With the recent mania over Web 2.0 and one of it's common bretheren, AJAX (BTW, Web 2.0 doesn't specifically dictate AJAX), there has been quite a proliferation of JavaScript frameworks (and frameworks built upon frameworks): prototype, moo.fx, MochiKit, DoJo, and more...
1/20/2006 1:16:49 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  | 
 Thursday, January 19, 2006
This is a convenient Javascript function that returns a value from a string of delimited values based upon the position index specified.
1/19/2006 7:25:22 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  | 
 Tuesday, January 10, 2006
What do I mean by dynamic text form fields? Let's say I have a table Contacts that stores typical contact information for a Contact Management system...
.NET | ASP.NET | MS SQL | VB.NET
1/10/2006 7:26:37 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  | 
 Wednesday, January 04, 2006
Chris Pederick has developed one of the most useful extensions available to Gecko rendering engine browsers Firefox, Flock, and Mozilla.
1/4/2006 4:39:34 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  | 
 Friday, December 02, 2005
This VB.Net code checks the validity of a credit card number. Pass a credit card number to the function and it returns true or false based upon the CC number's validity.
.NET | ASP.NET | VB.NET
12/2/2005 2:01:40 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  | 
 Tuesday, November 29, 2005
This is the C# code for an ASP.NET required validator web control that requires a specified set of controls to be all populated, or all empty. It inherits from the RequiredFieldValidator ASP.NET class, so it essentially works the same way, it just treats the set of controls you specify as if they were one control (in the sense of requirement).
.NET | ASP.NET | C_Sharp
11/29/2005 10:40:56 AM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  | 
 Wednesday, November 02, 2005
Here is a free JavaScript trim() function for your use. Trim is a common function in other languages' syntax that removes leading and trailing spaces in a string. It does not exist in JavaScript as a built-in String function.
11/2/2005 5:17:57 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  | 
 Friday, October 21, 2005
MSSQL Syntax for creating a comma-delimited string from a single column query using only a single SELECT statement
10/21/2005 12:33:09 PM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  | 
A very useful MSSQL Stored Procedure that will generate a cross tab (pivot table in the Excel world) output
10/21/2005 11:59:06 AM (Central Daylight Time, UTC-05:00)  #    Disclaimer  |  Comments [0]  |