asp.net 2.0 revealing reading notes one: asp.net and. NET Framework

Source: Internet
Author: User

"ASP.net 2.0 Secrets" two volumes of books have been beginning a few days, but has been no time to read carefully, only occasionally when the need to look at the reference, recently decided to take time to read through, I think there is a need for the place to make notes, input blog, in preparation for review.

Asp. NET is part of the. NET Framework.

To build asp.net pages, you need to take advantage of the characteristics of the. NET Framework.

The NET framework consists of two parts: the Framework class Library and the common language runtime

Framework class Library

The. NET Framework 2.0 consists of 18 619 types, 12 909 classes, 401 759 public methods, 93 105 public properties, and 30 546 events.

1. Name space

A namespace (namespase) is only a category, for example, all related to manipulating the file system, and the classes are in the System.IO namespace.

2. Assembly (Assembly)

An assembly (assembly) is a. dll file on the hard disk on which the classes in the. NET framework reside. For example, all classes in the ASP.net framework are located in an assembly called System.Web.dll.

The. NET Framework 2.0 contains 51 assemblies.

There are two things you must do to use any class in the. NET framework. First, the application must reference the assembly containing the class, and secondly, the application must import the namespace in which the class resides.

Common Language runtime

The common language runtime (CLR) is used to execute application code.

The C # compiler converts code into a special language for MSIL (Microsoft intermediate language). MSIL is a low-level, platform-independent language.

When the application is formally run, the Jiter (Just-in-time compiler) compiles the MSIL code into machine code in real time. Typically, an application does not compile the entire machine code from MSIL, and only the method that is actually called in the execution of the compilation is compiled into machine code.

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.