O'Reilly logo

Pro ASP.NET 4.5 in VB, Fifth Edition by Matthew MacDonald, Adam Freeman, Dan Mabbutt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 22

image

Managing Paths

In this chapter, we explain how the ASP.NET Framework uses paths to map between the URL that a request targets and the file that is used to generate the response. There are two kinds of paths—virtual and physical—and we explain the role of each and how they are correlated. We also show you some basic techniques for managing paths so you can take control of the URLs supported by your application.

Preparing the Example Project

For this project we created a new project called PathsAndURLs using the ASP.NET Empty Web Application template. We added a new Web Form called Default.aspx, the markup for which you can see in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required