In the case of an ASPX file, ASP.NET instantiates a class derived from System.Web.UI.Page (which implements IHttpHandler). ASPX files are usually paired with source code files containing the source code for the page. The ASPX file behaves mainly as the presentation layer while the accompanying Page class contributes the logic behind the presentation layer.
Next up-all about System.Web.UI.Page and how Web forms work.
Tutorial 2 Quick Reference
Create an FTP Web site
Select File | New | Web site from the main menu. Select FTP from the Locations combo box
This option is useful for creating sites that will be eventually be deployed by sending the bits to the real host over FTP
Create an HTTP Web site
Select File | New | Web site from the main menu. Select HTTP from the Locations combo box
This option is useful for creating sites that use IIS as the Web server throughout the whole development cycle
Create a File System Web site
Select File | New | Web site from the main menu. Select File system from the Locations combo box
This option creates sites that use Visual Studio's built-in Web server. That way, you may develop your own site even if you don't have IIS available on your machine