Login


Jonathan Wood

Description:I'm a software and website developer working out of the greater Salt Lake City area of Utah. I've developed many websites including Black Belt Coder, Trail Calendar, and others.

I hike each week with my dogs Suki and Sasha. You can see my hiking blog at Hiking Salt Lake.
Website:http://www.softcircuits.com
Blog:http://www.hikingsaltlake.com
Country:USA
Time Zone:Mountain Standard Time

Articles

Recursively Finding Controls
ASP.NET Web Form controls provide the FindControl method for finding child controls. However, FindControl does not find child controls of child controls. So here's a simple extension method that will accomplish that.
By Jonathan Wood • Created on Thursday, March 22, 2012
Splitting a Name into First and Last Names
Although splitting a name into the first and last names is not a major task, it's not quite as trivial as you might first expect due to potential variations.
By Jonathan Wood • Updated on Sunday, January 30, 2011
A Case-Insensitive Version of String.Replace()
The String.Replace() method is useful for easily replacing all occurrences of a substring with another substring. However, this method is always case-sensitive. Here is an extension method that implements a case-insensitive version of String.Replace().
By Jonathan Wood • Created on Wednesday, September 26, 2012
C++ High-Resolution Timer
This simple class uses the highest-resolution timer available under Windows. It's perfect for finding bottlenecks in your code or for simply comparing different computer tasks.
By Jonathan Wood • Created on Wednesday, December 22, 2010
Approximate String Comparisons Using Levenshtein Distance
Here's some code for testing the degree of similarity between two different strings. The Levenshtein distance algorithm returns the number of edit steps needed to make one string the same as the other.
By Jonathan Wood • Created on Sunday, February 27, 2011
Calling Web Services Using AJAX
This article presents code that uses AJAX to contact the server from client-side script and get a response without refreshing the current page.
By Jonathan Wood • Created on Sunday, April 15, 2012
Controlling JPEG Compression
The JPG graphics format supports varying level of compression and quality. Although it isn't readily visible, the Image.Save() method allows you to control this level. Here's a sample C# method that demonstrates how.
By Jonathan Wood • Created on Friday, May 18, 2012
Quick and Easy Method to Remove Html Tags
Here's a short snippet of code you can use to strip out HTML tags from a block of text.
By Jonathan Wood • Created on Sunday, April 08, 2012
Extending LINQ with Random Operations
You can create extension methods to extend LINQ. Here's some code I came up with for extending LINQ to return random list items and shuffle lists.
By Jonathan Wood • Created on Saturday, September 22, 2012
Generating a Element
Here's some code that generates a random machineKey element suitable for pasting into your ASP.NET web.config file.
By Jonathan Wood • Created on Tuesday, April 26, 2011
First 1 2 3 4 5  ... Last