Code Review

6 posts

A non definitive list of 64 html escape characters for currency

I recently had to integrate html escape characters for currency symbols on a project, and much to my surprise I could not find any good definitive list html escape characters for currency codes. These are also known as escape characters, character entities or extended characters.  I had to find them all more or less one […]

How to fix problems with ReSharper LINQ Intellisense

The Problem Resharper’s Intellisense, while generally awesome, does not find navigation properties in Linq statements The Cause: No Idea The Solution Switch back to Visual Studio 2012’s Intellisense, then go to Resharper > Options > Environment > General and make sure that the “Store Caches in the System Temp Folder Close and Reopen Visual Studio […]

Which jQuery cropping plugin should you use?

I recently had the need to do some automated image cropping.  I was already using the wonderful ImageResizing.Net plugin, which made all of the server code very easy.  It came with some sample code that uses the JCrop plugin (by Deep Liquid). Jcrop does it’s job very well.  However… In the modern web development environment, […]

How to Truncate a Table in Sql Server

I hadn’t used this handy tool in sql server in a while and actually had to look it up recently, so here it is in the code review. TRUNCATE TABLE “table_name” Truncating not only deletes all of rows in the table, but it deletes all information about the table, which makes all auto numbering integer […]

The List in C#

The first entry in my Code Review is the List<>. So far, the List is my favorite sort of array in C#.  It has the benefits of being obvious in naming you do not have to know the size when it is declared – the List can expand or contract as needed adding items to […]

Introducing the new Code Review Category

One of the lessons I learned from John Medina’s excellent book Brian Rules is that of elaborative rehearsal, which is (roughly) defined as remembering something more strongly by doing something with the new information, like giving a book report or relating that information back into something you already know.   Example: Say you already know […]