Sponsored By Aspose - File Format APIs for .NET

Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!

Monthly Archives: November 2008

Back to Basics: Delegates, Anonymous Methods and Lambda Expressions

code{color:#833;background:#fcfcfc;} h4{margin:30px 0px 0px 0px;font-color:#fff;font-weight:bold;border-bottom:1px dashed #ccc;font-variant: small-caps} Introduction Like generics, delegates are one of those features that developers use without really understanding. Initially this wasn’t really a problem since delegates were reserved for fairly specific purposes: implementing callbacks and … Continue reading 

Posted in Foundations | 28 Comments

The Market, Job Security and You

Look, I don’t want to take a lot of your time today – and there are some great technical posts on CodeBetter’s frontpage (as always) I don’t want to push off. However, I can tell you that I’m relatively worried … Continue reading 

Posted in Uncategorized | 7 Comments

Back to Basics: Generics

code{color:#833;background:#fcfcfc;} h4{margin:30px 0px 0px 0px;font-color:#fff;font-weight:bold;border-bottom:1px dashed #ccc;font-variant: small-caps} Introduction There are language features that are nothing more than syntactical sugar. For example, C#’s coalesce operator (??) is a short-handed and specialized if-else. Object initializers make it easier to set properties … Continue reading 

Posted in Uncategorized | 13 Comments

Short Foundations Presentation – This Thursday in Ottawa

If you happen to be a developer in the Ottawa area, you’re inviting to come check out my quick 1 hour presentation on unit testing, mocking and coupling. It’s taking place from 12:00-1:00 this Thursday (20th) at Microsoft’s Glacier room … Continue reading 

Posted in Uncategorized | 4 Comments

TextBoxFor(u => u.Name) – Unleash the power

Introduction Three weeks ago, Jeremy Miller and Chad Myers laid down their MVC approach. From the comments it’s clear that many of their goals resonated with fellow developers. Since I happened to be starting a large-scale application using MVC, I … Continue reading 

Posted in Uncategorized | 20 Comments

A base fixture class can help reduce repetitive code

This is one of those posts where you throw up some code and hope you’re doing it right (if I’m not, do tell). As you start to write a large number of tests, you realize that there’s a lot of … Continue reading 

Posted in Uncategorized | 1 Comment

Using Assert.AreSame

Just as an aside, Part 2 of my jQuery article is up. I think this is something most people know, but wanted to throw it out there just in case. There are subtleties that should be understood when using Assert.AreSame(expected, … Continue reading 

Posted in Uncategorized | Comments Off on Using Assert.AreSame