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

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