Collection Initializers

csharp suggest edit

File this in my learn something new every day bucket. I received an email from Steve Maine after he read a blog post in which I discuss the anonymous object as dictionary trick that Eilon came up with.

Read More

So Long L.A. And Thanks For All The Fish

personal suggest edit

Reopen The Comment Door For Your Readers With Subkismet

spam blogging suggest edit

Six months ago and six days after the birth of my son, Subkismet was also born which I introduced as the cure for comment spam. The point of the project was to be a useful class library containing multiple spam fighting classes that could be easily integrated into a blog platform or any website that allows users to comment.

Read More

Haacking 2007

personal suggest edit

You’ve been forewarned, this is yet another end-of-year slightly self-inflating retrospective blog post (complete with the cheesy meta-blogging introduction).

Read More

Faceoff! Haack vs Hanselman - It Gets Real

code suggest edit

Faceoff Recently, Maxfield Pool from CodeSqueeze sent me an email about a new monthly feature he calls Developer Faceoff in which he pits two developers side-by-side for a showdown.

Read More

ASP.NET MVC Helpers For Repopulating A Form

code aspnetmvc suggest edit

A common pattern when submitting a form in ASP.NET MVC is to post the form data to an action which performs some operation and then redirects to another action afterwards. The only problem is, the form data is not repopulated automatically after a redirect. Let’s look at remedying that, shall we?

Read More

Testing Routes In ASP.NET MVC

The ASP.NET Routing engine used by ASP.NET MVC plays a very important role. Routes map incoming requests for URLs to a Controller and Action. They also are used to construct an URL to a Controller/Action. In this way, they provide a two-way mapping between URLs and controller actions.

Read More

Interview with me on the ASP.NET Podcast Show

code aspnetmvc suggest edit

Yesterday, Wally McClure interviewed me for the ASP.NET Podcast Show. We chatted for around half an hour on my background, Microsoft, and ASP.NET MVC.

Read More

Thank You For Helping Me With My Job With ASP.NET MVC

I have a set of little demos apps I’ve been working on that I want to release to the public. I need to clean them up a bit (you’d be surprised how much I swear in comments) and make sure they work with the CTP. Hopefully I will publish them on my blog over the next few weeks.

Read More

Composition over Inheritance and other Pithy Catch Phrases

design code suggest edit

Love them or hate them, the ALT.NET mailing list is a source of interesting debate, commentary and insight. I can’t help myself but to participate. Debate is good. Stifling debate is bad. Period. End of debate. (see!? That was bad!)

Read More

ASP.NET MVC Design Philosophy

Eilon Lipton, the lead developer on the ASP.NET MVC project shares some of his thoughts on the design philosophy guiding the shaping of the framework.

Read More

Using ASP.NET MVC With Visual Web Developer Express

UPDATE: ASP.NET MVC now works with Visual Web Developer Express SP1

Read More

Writing Unit Tests For Controller Actions

UPDATE: Completely ignore the contents of this post. All of this is out-dated. Test specific subclasses are no longer necessary with ASP.NET MVC since our April CodePlex refresh

Read More

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