CHAPTER 10

Image

SportsStore: Administration

In this chapter, we continue to build the SportsStore application in order to give the site administrator a way of managing the product catalog. We will add support for creating, editing, and removing items from the product repository, as well as for uploading and displaying images alongside products in the catalog.

Adding Catalog Management

The convention for managing collections of items is to present the user with two types of pages: a list page and an edit page, as shown in Figure 10-1.

Image

Figure 10-1. ...

Get Pro ASP.NET MVC 4, Fourth Edition 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.