The first day of learning "essential ASP. NET…" Situation

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.