ASP. NET is better than ASP

Source: Internet
Author: User

1.asp.net and ASP have different execution modes. Asp.net have been greatly improved. asp is maintained by a script model.CodeThe validity of the lifecycle. Asp.net is a CLR-based assembly mode, and a more advanced mode is used to maintain the lifecycle of the Code.

2.asp.net we can call her a program, because she already has an event model. Based on the event model that has been customized (according to Ms's explanation, we can customize the event for future code, an event-driven custom mode. asp does not have a real event model (except on the client ).

3. the code writing method has been greatly improved. The most effective method is codebind. Of course, we may also achieve codebind in ASP, but we need to manually customize it, in Asp.net, the system is automatic.

4. In terms of code standards, you can have your own proprietary code set and webform set. asp may be unavailable!

5. different program execution bases. The Asp.net code is the CLR intermediate code. netframe explains execution. asp is a component based on the operating system to complete the execution process. Therefore, the benefit distribution between the two components is different during running. The most obvious difference is that, asp.net has a garbage collection center.

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.