Build and Run the Project
Hit F5 to build and run the project in debug mode. By default, ASP.NET Web Application projects are configured to use the built-in VS web-server(aka Cassini) when run. The default project templates will run on a random port as a root site (for example: http://localhost:12345/):You can end the debug session by closing the browser window, or by choosing the Debug->Stop Debugging (Shift-F5) menu item.
Looking under the covers
When you compile/build ASP.NET Web Application projects, all code-behind code, embedded resources, and standalone class files are compiled intoa single assembly that is built in the \bin sub-directory underneath the project root (note: you can optionally change the location if you want to - forexample, to build it into a parent application directory).If you choose the "Show All Files" button in the solution explorer, you can see what the result of our compilation output looks like: