Overriding a .svc Request With Routing

I was drawn to an interesting question on StackOverflow recently about how to override a request for a non-existent .svc request using routing.

Read More

Attention Denizens of Black Rock City

Our eye in the sky reports two angry evil (but devishly good looking) cyborg units, XSP 2000 and TRS-80, are fast approaching Black Rock City. They are considered very armed and dangerous. In fact, they are mostly armed and not much else.

Read More

We're Not Paid To Write Code

On Twitter yesterday I made the following comment:

Read More

More Versioning Fun With Optional Arguments

In my last blog post, I covered some challenges with versioning methods that differ only by optional parameters. If you haven’t read it, go read it. If I do say so myself, it’s kind of interesting. ;) In this post, I want to cover another very subtle versioning issue with using optional parameters.

Read More

Versioning Issues With Optional Arguments

One nice new feature introduced in C# 4 is support for named and optional arguments. While these two features are often discussed together, they really are orthogonal concepts.

Read More

Creating Copies of Attributes

code suggest edit

UPDATE: A reader named Matthias pointed out there is a flaw in my code. Thanks Matthias! I’ve corrected it in my GitHub Repository. The code would break if your attribute had an array property or constructor argument.

Read More

Dynamic Methods in View Data

In ASP.NET MVC 3 Preview 1, we introduced some syntactic sugar for creating and accessing view data using new dynamic properties.

Read More

ASP.NET MVC 3 Preview 1 Released

UPDATE: This post is a out of date. We recently released the Release Candidate for ASP.NET MVC 3.

Read More

Uploading a File (Or Files) With ASP.NET MVC

aspnetmvc suggest edit

I wanted to confirm something about how to upload a file or set of files with ASP.NET MVC and the first search result for the phrase “uploading a file with asp.net mvc” is Scott Hanselman’s blog post on the topic.

Read More

Razor View Syntax

UPDATE: Check out my Razor View Syntax Quick Reference for a nice quick reference to Razor.

Read More

Back from Alaska With A New Release of Subtext

My son and I returned from a week long vacation to visit my parents in Anchorage Alaska last night. Apparently, having the boys out of the house was quite the vacation for my wife as well. :)

Read More

Null Or Empty Coalescing

code suggest edit

In my last blog post, I wrote about the proper way to check for empty enumerations and proposed an IsNullOrEmpty method for collections which sparked a lot of discussion.

Read More

Checking For Empty Enumerations

code suggest edit

While spelunking in some code recently I saw a method that looked something like this:

Read More

Subtext 2.5 Skin Improvements

subtext suggest edit

Deploying a Subtext skin used to be one of the biggest annoyances with Subtext prior to version 2.5. The main problem was that you couldn’t simply copy a skin folder into the Skins directory and just have it work because the configuration for a given skin is centrally located in the Skins.config file.

Read More

Subtext 2.5 Released!

subtext suggest edit

Wow, has it already been over a year since the last major version of Subtext? Apparently so.

Read More

Is Arrogance a Factor in Success?

I saw a recent Twitter thread discussing the arrogance of Steve Jobs. One person (ok, it was my buddy Rob) postulated that it was this very arrogance that led Apple to their successes.

Read More

ASP.NET MVC and Me in PragPub Magazine

aspnetmvc oss suggest edit

The June issue (also in pdf) of the online PragPub magazine, published by the Pragmatic Bookshelf has two articles on ASP.NET MVC.

Read More

Deals Well With Ambiguity

code suggest edit

A while ago I was talking with my manager at the time about traits that we value in a Program Manager. He related an anecdote about an interview he gave where it became clear that the candidate did not deal well with ambiguity.

Read More

Finding Serenity at Lake Serene

personal suggest edit

The last time I wrote about one of my hiking adventures, it started off great, but really didn’t end well. But I survived, so on that scale, yes it did end well! It’s a matter of perspective.

Read More

Copying Files Over Remote Desktop

tips tech suggest edit

Here’s a handy tip I just recently learned from the new intern on our team (see, you can learn something from anyone on any given day). I’ve long known you could access your local drives from a remote machine.

Read More