ASP. NET 2.0 beta2 two articles on page compilation model changes

Source: Internet
Author: User
I used to write an article on my blog describing the major changes in page compilation models in ASP. NET 2.0 beta2 compared with beta1. Today, I found two good blogs on the Internet (here & here). I described this change in more detail and the operating principles.

In my personal preferences, I prefer the code-Beside method of beta1, because the mechanism is clear, understandable, and elegant. However, the Code-Beside method has an obvious defect. It is difficult for developers to inherit pages from a defined page base class, while in ASP. Beside. NET 1.1, this is very simple (you only need to directly change the parent class of the code-behind file ).

The improvement of beta2 makes the implementation method more complicated, but the advantage is that developers can enjoy the advantages of customized page base class, and also eliminate. NET 1.1, the code-behind file has to add a large number of defects declared by the protected control.

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.