Chapter 5. SportsStore: Navigation and Shopping Cart

In Chapter 4, you set up the majority of the core infrastructure needed to build SportsStore. There's already a basic product list backed by a SQL Server database. However, you're still several steps away from dominating global online commerce. In this chapter, then, you'll get deep into the ASP.NET MVC development process, adding catalog navigation, a shopping cart, and a checkout process. As you do, you'll learn how to do the following:

  • Use the Html.RenderAction() helper method to create reusable, unit testable, templated controls

  • Validate form submissions

  • Create a custom model binder that separates out the concern of storing the visitor's shopping cart—allowing your action methods to be simpler ...

Get Pro ASP.NET MVC 2 Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.