In our examples to this point, there has been a direct correlation between the name we give a page and the URL that is used to access it. For example, if we create a new web page called
MyPage.aspx in the root directory of our Visual Studio ASP.NET project, then the URL that we would use to access it on our development machine would be something like this:
If we move the web page into a directory called
Pages, then the URL becomes as follows:
Similarly, when we deploy our web application to our production server (deployment is the topic of Chapter 14), the URL will still be directly related to the location of the page file in ...