MVC Storefront, Part 11: Hooking Up The Shopping Cart And Components

In this episode I hook the site up to the shopping cart and run some tests on my Controllers. I also build a Component with a little-known feature of MVC, the System.

In this episode I hook the site up to the shopping cart and run some tests on my Controllers. I also build a Component with a little-known feature of MVC, the System.Web.MVC.ComponentController.

Code Bath
This screencast is almost pure coding, and in some ways is the weakest one aside from the ComponentController stuff at the end. I felt it was important to show how I had to hook routing up to get the cart bits to work properly, but one thing I left out was the controller testing and mocking I did with Phil, which is coming up in the next screencast.

Errata
I’ve stopped adding the “Previously, On The MVC Storefront” section because it’s getting too long. I’ve added the links to the side of my blog here.

 

Watch It Here

The Code Is Here.

Technorati Tags: