Extending ASP.NET MVC To Add Conventions

UPDATE: Much of this post is out-of-date with the latest versions of MVC. We long sinced removed the ControllerAction attribute.

Read More

TDD and Dependency Injection with ASP.NET MVC

One of the guiding principles in the design of the new ASP.NET MVC Framework is enabling TDD (Test Driven Development) when building a web application. If you want to follow along, this post makes use of ASP.NET MVC CodePlex Preview 4 which you’ll need to install from CodePlex. I’ll try and keep this post up to date with the latest releases, but it may take me time to get around to it.

Read More

Test Specific Subclasses vs Partial Mocks

code tdd suggest edit

Sometimes when writing unit tests, you run into the case where you want to override the behavior of a specific method.

Read More

Was My Code Provability Post An Inspiration To Joel?

Brazil
Jersey Note that in the same vein as Pele, Ronaldinho and Ronaldo, Joel has reach that Brazillian Soccer player level of stardom in the geek community and can pretty much go by just his first name. Admit it, you knew who I was referring to in the title. Admit it!

Read More

Duplication of Efforts Is Not The Problem

oss suggest edit

Oren Eini, aka Ayende, writes about his dissatisfaction with Microsoft reproducing the efforts of the OSS community. His post was sparked by the following thread in the ALT.NET mailing list:

Read More

Internationalized URLs

subtext suggest edit

Despite an international team of committers to Subtext and the fact that MySpace China uses a customized version of Subtext for its blog, I am ashamed to say that Subtext’s support for internationalization has been quite weak.

Read More

Awesome Knuth Quote On Code Proofs

My friend (and former boss and business partner) Micah found this gem of a quote from Donald Knuth addressing code proofs.

Read More

Question For You Dependency Injection Buffs

code tdd patterns suggest edit

I’m currently doing some app building with ASP.NET MVC in which I try to cover a bunch of different scenarios. One scenario in particular I wanted to cover is approaching an application using a Test Driven Development approach. I especially wanted to cover using various Dependency Injection frameworks, to make sure everything plays nice.

Read More

What Exactly Are You Trying To Prove?

Writing Testable Code Is About Managing Complexity

When discussing the upcoming ASP.NET MVC framework, one of the key benefits I like to tout is how this framework will improve testability of your web applications.

Read More

Groupthink Vs Market Think

In his book, The Wisdom of Crowds: Why the Many Are Smarter Than the Few and How Collective Wisdom Shapes Business, Economies, Societies and Nations (title long enough for you?), James Surowiecki argues that decisions made by a crowd are generally better than those made by any single individual in the group.

Read More

Hilarious Quote on Computing Power

humor suggest edit

Seen in Twitter today

Read More

What Happens At Conferences In Vegas Do Not Stay In Vegas

conferences suggest edit

Last week I was busy in Las Vegas at the DevConnections/OpenForce conferences, and unlike that pithy but over-used catch-phrase, what happens at a conference in Vegas should definitely not stay in Vegas but should be blogged (only things during sessions that won’t get anyone in trouble).

Read More

The REST-Like Aspect Of ASP.NET MVC

While at DevConnections/OpenForce, I had some great conversations with various people on the topic of ASP.NET MVC. While many expressed their excitement about the framework and asked when they could see the bits (soon, I promise), there were several who had mixed feelings about it. I relish these conversations because it helps highlight the areas in which we need to put more work in and helps me become a better communicator about it.

Read More

Rhino Mocks + Extension Methods + MVC == Crazy Delicious

UPDATE: This content is a bit outdated as these interfaces have changed in ASP.NET MVC since the writing of this post.

Read More

Don't Buy Our Book. Win It. Or Win that XBox. Your Choice.

books aspnet suggest edit

Recently I gave out a few free copies of a book I co-wrote, but ran out quickly. This is the same book that Jeff Atwood (a co-author) told everyone, Do Not Buy This Book.

Read More

A Library For Executing SQL Scripts With GO Separators and Template Parameters

code suggest edit

One thing I’ve found with various open source projects is that many of them contain very useful code nuggets that could be generally useful to developers writing different kinds of apps. Unfortunately, in many cases, these nuggets are hidden. If you’ve ever found yourself thinking, Man, I wonder how that one open source app does XYZ because I could use that in this app, then you know what I mean.

Read More

My Blog Lives In The Matrix

blogging suggest edit

A while back, Jon Galloway asked the question, Can Operating Systems tell if they’re running in a Virtual Machine? What a silly question! When was the last time an Operating System questioned its own existence? Is that going to be in the next version of Windows - Windows Vista Into Its Own Soul? Or perhaps Apple will come out with Mac OS Existentialist?

Read More

DevConnections and OpenForce 2007 in Vegas

conferences suggest edit

From Monday night to Thursday afternoon next week I will be in Las Vegas attending both DevConnections/ASPConnections as well as the DotNetNuke OpenForce conference. After that, I will be up in Redmond for the next week.

Read More

What Does Protected Internal Mean?

dotnet code suggest edit

Pop quiz for you C# developers out there. Will the following code compile?

Read More