© Adam Freeman 2016

ADAM FREEMAN, Pro ASP.NET Core MVC , 10.1007/978-1-4842-0397-2_9

9. SportsStore: Navigation

Adam Freeman

(1)Milton Keynes MK6 3PA, UK

In this chapter, I continue to build out the SportsStore example app. In the previous chapter, I add support for navigating around the application and start building a shopping cart.

Adding Navigation Controls

The SportsStore application will be more usable if customers can navigate products by category. I will do this in three phases.

  • Enhance the List action model in the ProductController class so that it is able to filter the Product objects in the repository.

  • Revisit and enhance the URL scheme.

  • Create a category list that will go into the sidebar of the site, highlighting the current category and ...

Get Pro ASP.NET Core MVC, Sixth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.