Collection Initializers
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 MoreSo Long L.A. And Thanks For All The Fish
Reopen The Comment Door For Your Readers With Subkismet
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 MoreHaacking 2007
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 MoreFaceoff! Haack vs Hanselman - It Gets Real
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 MoreASP.NET MVC Helpers For Repopulating A Form
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 MoreTesting 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 MoreInterview with me on the ASP.NET Podcast Show
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 MoreThank 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 MoreComposition over Inheritance and other Pithy Catch Phrases
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 MoreASP.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 MoreUsing ASP.NET MVC With Visual Web Developer Express
UPDATE: ASP.NET MVC now works with Visual Web Developer Express SP1
Read MoreWriting 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 MoreExtending 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.
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 MoreTest Specific Subclasses vs Partial Mocks
Sometimes when writing unit tests, you run into the case where you want to override the behavior of a specific method.
Read MoreWas My Code Provability Post An Inspiration To Joel?
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 MoreDuplication of Efforts Is Not The Problem
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 MoreInternationalized URLs
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