Login


Jonathan Wood

Description:I'm a software/website developer working out of the greater Salt Lake City area in Utah. I've developed many websites including Black Belt Coder, Insider Articles, 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.insiderarticles.com
Blog:http://www.hikingsaltlake.com
Country:USA
Time Zone:Mountain Standard Time

Articles

A Custom Settings Class for WinForms
Here's the class I use to keep track of my application settings. It requires a little more coding to use but provides more control than the Properties.Settings class.
By Jonathan Wood • Created on Friday, December 31, 2010
A JavaScript Formatter
JavaScript that has been compressed to use less bandwidth can be very difficult to read. Here's a C# class that will format JavaScript code, making it easy to read again.
By Jonathan Wood • Updated on Tuesday, April 8, 2014
Converting Text to a URL-Friendly Slug
It is common practice these days to include a URL-friendly version of your title, often called a slug, within your URLs. Here's a simple routine to generate one.
By Jonathan Wood • Updated on Sunday, December 12, 2010
Creating a Sparse Matrix in .NET
A sparse matrix is a data structure that acts like a two-dimensional array but uses far less memory. It is ideal for scenarios where you are maintaining a logical grid and most cells are empty.
By Jonathan Wood • Created on Thursday, February 10, 2011
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 8, 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
An Error Message Control
All web applications should check for errors. But what's the best thing to do when one occurs? This handy little class makes reporting errors easy.
By Jonathan Wood • Created on Monday, January 3, 2011
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
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
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
First 1 2 3 4 5  ... Last