asp+ new Contact (2)

Source: Internet
Author: User
Tags copy execution file system garbage collection new features object model web services access
asp+ 2000-10-31 · Zhao in Yesky


Two. Four new features of asp+

1. asp+ based on a new architecture

Asp+ is entirely based on the NGWS runtime framework.

The NGWS Runtime Framework (NGWS Runtime Framework) is a core component of the. NET architecture presented by Microsoft for the next-generation Web. The NGWS runtime is a completely new infrastructure for Windows, which sits between windows running and user programs and is used to manage code execution. It provides an encapsulation between the developer and the operating system, making Windows programming easier. The NGWS runtime is completely object-based, extending the structure of the COM (Component object model, component objects models) and providing additional new enhancements for scalable distributed applications. With the NGWS runtime, we don't have to worry about forgetting to zero an object in the asp+ page because it automatically handles memory garbage collection. At the same time, some of the operating system-critical access to the underlying services has become more relaxed, security, authentication, file system access, network information, and so on ... Everything is not a problem!

2.asp+ to execute by compiling

Asp+ has made a number of improvements to the performance of the ASP, and page scripts are no longer performed through interpretation, but are compiled by compilers that are compatible with NGWS (next Generation Web services, Next generation Web service). Don't get me wrong! The compilation we refer to is not for you to generate. EXE file.

You're still the same as before. Write the code, and the compilation works automatically when the script code first receives the request and runs by the NGWS runtime, while saving a cached copy. When the script receives the request again, the system runs the cached copy directly, which greatly speeds up execution because we are now running compiled code.

If the source script changes, the runtime automatically discards the old compiled version from the cache so that the code is recompiled the next time the execution request is received.

3. Data caching Technology

OK, now we have a faster compiled asp+, but that's not enough. Imagine a situation where you have a dynamically generated asp+ page that comes from a background database that could be updated for several days ... Now, suppose your server receives a request from the client, the server connects to the database, executes the query, retrieves the records, and feeds back to the user, very simply, right? But what happens when the server handles tens of thousands of identical requests at the same time? There is no doubt that the result is senseless duplication with the dreaded system resource footprint.

This is why data caching techniques are used.



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.