CHAPTER 7

image

SportsStore: Navigation & Cart

In Chapter 6, we set up the basic features of the SportsStore application. Now we will build on those features to extend the application so that you’ll get a sense of how a Web Forms project comes together. Along the way, you’ll see some additional features that the ASP.NET Framework provides.

Configuring URL Routing

By default, the URLs that we use to access Web Forms in an ASP.NET Framework application correspond to file names. So a request for this URL:

http://localhost:53506/Pages/Listing.aspx

will result in the Listing.aspx file in the Pages folder being processed and the resulting HTML returned to ...

Get Pro ASP.NET 4.5 in C#, Fifth 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.