<%@ Page Language="VB" Explicit="True" Debug="True" %> Wise Old Man's Help Page ASP.NET TUTORIAL

How ASP.NET Works

To explain how ASP.NET works you first have to understand how HTML works, which is called client-side scripting. Client-side means your browser and the machine running the browser, i.e. your PC. This is opposed to Server-side where the web server is running.

Client-side scripting works like this:

  1. You choose a link to a .html or .htm in your browser.
  2. The web server locates the page and sends it back to your browser.
  3. Your browser interprets the HTML tags and, at the same time, executes any client-side scripting code it encounters.
  4. Some code isn't executed immediately as it waits until you do something like click a button.

An ASP.NET page works like this:

  1. You click on a link to a .aspx page in your browser.
  2. The server locates the page and recognizes it as a .aspx page.
  3. The server checks to see if it has a compiled version of the page, if not, it will compile the file.
  4. The server executes the compiled verison of the page, running the source-code parts of the page and sending the HTML parts of the page to your browser. None of the source-code is sent; only the pure HTML is returned to your browser.
  5. The server save the compiled version of the page for use next time the page is requested.

The advantages of ASP.NET are:


Introduction Using WEB MATRIX