Chapter 8Navigation

What you will learn in this chapter:

  • How to create navigational schemas in ASP.NET Web Forms and MVC
  • Incorporating absolute and relative URLS into your flow
  • A closer look at how ASP.NET MVC routing works
  • How to programmatically send users to a different page

Code Downloads for this Chapter:

The wrox.com code downloads for this chapter are found at www.wrox.com/go/beginningaspnetforvisualstudio on the Download Code tab. The code is in the chapter 08 download and individually named according to the names throughout the chapter.

Helping your site visitors find what they are looking for is critical to the success of your web application. You must have a logical and intuitive navigation structure. If users can't find what they are looking for, they will lose interest in being your customer, and your work to create the site in the first place would all be for naught. This presence of an intuitive navigation structure is a key factor to the overall site User Experience (UX), or how well the user can understand and work within your site design and structure.

The last chapter covered master and layout pages that are used to provide a consistent look and feel to a web application. In this chapter, you build these pages out even further, because the navigation structure is among the most commonly shared parts of an application. You will once again see the different approaches between Web Forms and MVC applications as you build each type, as ASP.NET Web Forms uses ...

Get Beginning ASP.NET for Visual Studio 2015 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.