Asp.net 2.0 secrets: ASP. NET and. NET Framework

Source: Internet
Author: User

ASP. NET 2.0 secrets two books have been starting for some days, but there is no time to read them carefully. I just read the reference when I need it occasionally. Recently I decided to take the time to read them, I take notes on what I think is needed and enter my blog for review.

 

ASP. NETYes. NET Framework.

build Asp. net page, . net Framework .

. NET FrameworkConsists of two parts: framework class library (Framework class library) And Public Language Runtime

 

 Framework class library

. NET Framework 2.0 Contains 18 619 Type, 12 909 Classes, 401 759 Public methods, 93 105 Public attributes and 30 546 Events.

 

1. namespace

namespace ( Namespase ) is just a category, for example, all components related to the essay system; all classes are located in system. io namespace.

. 2.ProgramSet (Assembly)

Assembly ( Assembly ) Is to save . NET Framework On the hard disk where the class is located . Dll File. For example ASP. NET Framework All classes in System. Web. dll .

. NET Framework 2.0Contains51Assembly.

 

Use. NET FrameworkIn any class, two things must be done. First, the application must reference the Assembly containing the class; second, the application must import the namespace where the class is located.

 

Public Language Runtime

Public language ( CLR ) is used to execute the Code application.

C #The compiler converts the codeMsil(Microsoft intermediate language.MsilIs an underlying platform-independent language.

When the application is running, Jiter ( Just-in-time Compiler) Msil Code is compiled into machine code in real time. Normally, the application does not Msil Compiled into machine code. Only methods actually called during compilation and execution can be compiled into machine code.

Related Article

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.