C# Razor Syntax Quick Reference

I gave a presentation to another team at Microsoft yesterday on ASP.NET MVC and the Razor view engine and someone asked if there was a reference for the Razor syntax.

Read More

Top 10 Blogging Clichés of 2010

Dear Reader, I apologize for not blogging much lately. I know, total #fail, but I’ve been so f***ing busy lately. I thought I would start off this new year right with a top ten list FTW!

Read More

End Of Year 2010 Extravaganza

meta suggest edit

It’s the end of the year and it’s time for the annual year in review blog post. I know what you’re thinking, but don’t worry, you remembered to turn off the stove before leaving.

Read More

ASP.NET MVC 3 Extensionless URLs on IIS 6

A lot has been written about how to get ASP.NET MVC running on IIS 6 with extensionless URLs. Up until now, the story hasn’t been very pretty. When running ASP.NET MVC on ASP.NET 4, it gets a lot easier.

Read More

See Me in Brazil and Argentina in March

conferences suggest edit

Along with James Senior, I’ll be speaking at a couple of free Web Camps events in South America in March 2011.

Read More

Not Really Interested In Lean

code nuget suggest edit

We could have done better. That’s the thought that goes through my mind when looking back on this past year and reflecting on NuGet.

Read More

How Would You Maximize Profit From A Time Machine?

interesting suggest edit

At some point, everybody and every team makes a mistake they regret and wish they could take back. During our regular status meetings, I sometimes make the mistake of saying something like “if I could go back in time, I’d tell myself not to make that decision.”

Read More

ASP.NET MVC 3 Release Candidate 2

Almost exactly one month ago, we released the Release Candidate for ASP.NET MVC 3. And today we learn why we use the term “Candidate”.

Read More

NuGet Roundup December 2010 Edition

nuget code suggest edit

I don’t normally post lists of links as it’s really not my style. But there’s a lot of great NuGet blog posts I want to call out so I thought I’d try my hand at it.

Read More

ASP.NET MVC Diagnostics Using NuGet

Sometimes, despite your best efforts, you encounter a problem with your ASP.NET MVC application that seems impossible to figure out and makes you want to pull out your hair. Or worse, it makes you want to pull out my hair. In some of those situations, it ends up being a PEBKAC issue, but in the interest of avoiding physical harm, I try not to point that out.

Read More

Grouping Routes Part 1

UPDATE: 2011/02/13: This code is now included in the RouteMagic NuGet package! To use this code, simply run Install-Package RouteMagic within the NuGet Package Manager Console.

Read More

Getting The Route Name For A Route

A question I often receive via my blog and email goes like this:

Read More

Moq Sequences Revisited

tdd code suggest edit

A while back I wrote about mocking successive calls to the same method which returns a sequence of objects. Read that post for more context.

Read More

Named Routes To The Rescue

The beginning of wisdom is to call things by their right names – Chinese Proverb

Read More

NuGet Package Transformations

code nuget oss suggest edit

Note, this blog post applies to v1.0 of NuGet and the details are subject to change in a future version.

Read More

NuGet CTP 2 Released!

nuget code suggest edit

My team has been hard at work the past few weeks cranking out code and today we are releasing the second preview of NuGet (which you may have heard referred to as NuPack in the past, but was renamed for CTP 2 by the community). If you’re not familiar with what NuGet is, please read my introductory blog post on the topic.

Read More

ASP.NET MVC 3 Release Candidate

Today we’re releasing the release candidate for ASP.NET MVC 3. We’re in the home stretch now so it’ll mostly be bug fixes and small tweaks from here on out.

Read More

Fighting Confirmation Bias

science suggest edit

This month’s Scientific American has an interesting commentary by Scott Lilienfield entitled Fudge Factor that discusses the fine line between academic misconduct and errors caused by confirmation bias.

Read More

A Sordid Little Tale Of Unexpected Security Exceptions

It was a dark and stormy coding session; the rain fell in torrents as my eyes were locked to two LCD screens in a furious display of coding …

Read More

And The Winner Is, NuGet

code oss nuget suggest edit

The polls have closed and we now have a new name for our project, NuGet (pronounced “New Get” and not “Nugget” and not “Noojay” for you hoity-toity) which had the most votes by a large margin.

Read More