Category Archives: Languages

Going Underground: Microsoft Moles

Despite having been around for several years I hadn’t heard about Microsoft’s Moles framework until a few months ago when one of my teammates mentioned it during the 2011 Indy GiveCamp. I was interested in learning more about it at … Continue reading

Leave a Comment

Filed under C#, Languages, Microsoft Moles, Practices, Software Development, Testing, Visual Studio 2010

Some C# Syntax Tricks

Christmas came a bit early for my team this year when we were told that the company had purchased licenses for both Reflector AND ReSharper!  Naturally I installed both right away.  Of course we’re all familiar with Reflector but haven’t … Continue reading

6 Comments

Filed under C#, Languages, Software Development

System.Diagnostics.Debugger

I hardly ever use the classes in the System.Diagnostics namespace.  As much as I’d like everyone to believe that it’s because I’m such a rockstar that I don’t need them, it’s really just that I generally use other techniques.  With … Continue reading

Leave a Comment

Filed under .NET, C#, Software Development

Cast or GetHashCode?

I really hate to resurrect this issue but after some recent conversations I think it’s necessary.  We have a lot of code – particularly in the deep, dark recesses of our application that no one dares touch – that uses … Continue reading

Leave a Comment

Filed under .NET, C#, Software Development

Not Another Regular Expression

I haven’t done anything with the System.Drawing namespace directly in a long time.  So long in fact that before today I honestly can’t remember the last time I needed anything in there.  When I needed to update the border color … Continue reading

Leave a Comment

Filed under .NET, C#, Software Development

Building Strings Fluently

I’ve been using StringBuilder for nearly 10 years but only recently realized that it implements a fluent interface. Continue reading

Leave a Comment

Filed under .NET, C#, Languages, Software, Software Development

Basic Dynamic Programming in .NET 4

.NET 4 adds some nice tools to the toolbox. Chief among them is the Dynamic Language Runtime which adds support for dynamic languages and dynamic features in strongly typed languages. In this post we’ll examine how we used reflection to work with unknown data types prior to the introduction of dynamics. We’ll then see how to use dynamics to accomplish the same task. We’ll also take a brief look at two of the specialized classes in the System.Dynamic namespace. Continue reading

2 Comments

Filed under .NET, C#, Languages, Software Development

[Review] JavaScript: The Good Parts

A review of JavaScript: The Good Parts by Douglas Crockford. Continue reading

Leave a Comment

Filed under JavaScript, Languages, Software Development, Uncategorized

Working With JavaScript

I’ve started on a new project that’s going to be pretty heavy on JavaScript.  Today one of my teammates and I were discussing which editor we should use.  I haven’t done much with JavaScript in the past few years but … Continue reading

1 Comment

Filed under Environments, JavaScript, Languages, Software Development, Visual Studio 2010

LINQed Up (Part 2)

The second part of a series intended to provide an introduction to LINQ. This part covers common methods and LINQ syntax. Continue reading

1 Comment

Filed under .NET, C#, Languages, LINQ, LINQed Up, Series, Software Development