1. ASP. NET work Worker Process)
2. unlike ASP, the scripting language is not limited to VBScript root JavaScript, but all. the more important difference between the languages supported by net is that the original interpretation mode is changed to the compilation mode, so the benefits will not be mentioned.
3. each of our Asp.net pages is a type that inherits from the page class (you can use this. getType (), this. getType (). basetype for verification), the ancestor class page provides some useful members.
4. UseCodeThe hiding technology improves the mixed editing of HTML encoding and script in ASP. Of course, we can also use the original method to write the script, but the better way is to write it in a separate code file, reference by Page's SCR attribute, as shown in figure
<% @ Page Language = "C #" src = "codebehind. cs" autoeventwireup = "false" inherits = "xxin. webform" %>
However, we can see that vs. net2003 is automatically generated
<% @ Page Language = "C #" codebehind = "codebehind. cs" autoeventwireup = "false" inherits = "xxin. webform" %>
In fact, codebehind does not exist. It is dedicated to vs. Page will ignore this attribute and how will it work? vs will compile the file pointed to by codebehind to generateProgramIn the bin directory, aspx will go to the program to find the definition of the class xxin. webform.