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.