ASP + new contacts (2)

Source: Internet
Author: User
2000-10-31 · Zhao Yu · yesky
II. Four new features of ASP +
1. ASP + is based on the new architecture
ASP + is based entirely on the NGWS runtime framework.
NGWS runtime framework (NGWS runtime framework) is a core component of Microsoft's next-generation web. NET architecture. NGWS runtime is a completely new underlying infrastructure for Windows. It is located between Windows running and user programs and is used to manage code execution. It provides an encapsulation between developers and operating systems to simplify Windows programming. The NGWS runtime is fully Object-based. It extends the COM (Component Object Model, Component Object Model) structure and provides more enhanced services for scalable distributed applications. With NGWS running, we do not have to worry about clearing an object in ASP + page because it will automatically process memory garbage collection. At the same time, it is easier to access some underlying services that are crucial to the operating system, such as security, authentication, file system access, network information, and so on... No problem!
2. ASP + is compiled for execution.
ASP + has made many improvements to ASP execution performance. Page scripts are not executed by interpretation, but by compiling NGWS (Next Generation Web Services, Next Generation web Services) compatible compilers. Don't get me wrong! The compilation we refer to does not require you to generate a. EXE file.
You still write the code as before. The compilation is automatically completed when the script code receives the request for the first time and runs the NGWS runtime, and saves a copy of the cache. When the script receives the request again, the system directly runs the cached copy, which greatly speeds up the execution because we are running the compiled code.
If the source script has changed, the old compilation version is automatically discarded from the cache during the runtime so that the code can be re-compiled when the next request is received.
3. Data cache technology
Now we have a faster compiled ASP +, but this is not enough. Imagine this situation: you have a dynamically generated ASP + page. The content of this page originates from a background database, which may be updated several days ago... Now, if your server receives a request from the client, the server will establish a connection with the database, execute the query, retrieve the record, and feed it back to the user, which is very simple, right? But what will happen if the server processes thousands of identical requests at the same time? Undoubtedly, the result is unnecessary repetitive operations and terrible system resource occupation.
This is why the data cache technology is used.

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.