OneProgramSpeed is a very desirable thing. OnceCodeStart to work, and then you have to try to make it run faster and faster. In ASP, you only need to wring your code as much as possible, so that they have to be transplanted to a component with only a few performance points. But now, Microsoft will release ASP. NET to properly solve this problem.
Compatibility
Asp.net is compatible with ASP, so there is no need to worry that your existing applications will crash in the next version of IIS. The Asp.net file appears with a new extension, that is,. aspx. Therefore, you can easily identify the new and old files. There are too many prohibitions when using Asp.net. If you want to get some convenience from Asp.net, you have to follow its rules, which will impose many restrictions on your application. On the other hand, Microsoft also strives to make developers write less code, so they only make sacrifices in terms of fluency and consistency.
Asp.net is more difficult in terms of management and writing. In ASP. NET, there are too many "small things" that need to be taken into account, so developers or new users have to spend a lot of time figuring out why the system is so easy to die. Obviously, ASP and Asp.net will become the next-generation network application software. Although the cost is quite a bit, Asp.net does provide some very new features; ASP will try to balance the cost and provide some features not available in Asp.net.
Code compilation
The Code has been compiled as required, so you can compile Asp.net in any language. At present, even VBScript and Java Script are compiled.
COM Object
When we use a typical ASP, we are all aware of the problems that come with COM. Register components, restart the server ..., These are all very troublesome tasks. Now, with the new version of the Windows Service System (ngws), you no longer need to worry about these issues. You just need to copy the source file and paste it where you need it to make it work. No DLL registration is required.
Xml configuration
Through the ngws framework, all metabase and configuration information are stored in the XML file. This means that you no longer need to be fooled by IIS, or even change the settings. In fact, you only need to change the XML file from anywhere and upload the change result to the server. No remote PC control is required.
Web forms and Web controls
Asp.net provides the form link function to the server, so you can process requests more easily. Web controls also provides similar functions and provides more functions than HTML controls to Web developers.
Caching
When the user no longer sends more commands to the server, Asp.net allows the object and output data to be buffered, which greatly improves the speed. The Asp.net buffer system is very advanced. It allows you to identify what needs to be buffered, what does not need, and when to call up buffered information.
Scalability
Some excellent upgradeability features are introduced in Asp.net, including maintaining session status through server and multi-processor balance. Asp.net runtime also monitors processes, so when you mess up the data, Asp.net will automatically shut down, restart, and input the old commands to the new process. ASP. NET provides a series of new features and makes improvements based on the existing ones. Despite the treasure of the Huai Yu Huang knocking and waving the form of a Shi Xi H yi Xi Mei do support, everything will not be so perfect.
File Management
The whole. NET system is built on the basis of ngws runtime. ngws runtime abolished the com system we are used to and replaced it with a more popular runtime. Basically, the runtime is the same as that of Java virtual machines. The basic operation method of Runtime is to intercept code in the middle and translate it into a common machine language for the system to use. It is also responsible for page compilation of Asp.net.
Note: If you are not familiar with Java, the program on your computer translates the Java code into a machine language. These codes are sent to different platforms. You only need to redo the program, rather than redo all the programming languages. This is the cross-platform compatibility guaranteed by Java. You can find that this is very similar to. net, except that Java is cross-platform. Net is multilingual compatibility. The system also keeps tabs on the source files for your applications. If the system detects that the program has been changed, runtime will recompile them and automatically store the latest compiled version.
Here, we can clearly feel the convenience brought by Asp.net. In short, the compilation language, machine code, and powerful type variables are much faster than the script language that is interpreted before execution.
We cannot help wondering how much we will spend for the brand new runtime? Microsoft guarantees that the performance obtained from compiling ASP pages will far exceed the cost of the runtime system, but this does not sound like a good solution. For example, the Java Virtual Machine greatly reduces the Java program operation speed. We only pray that there will be no similar serious errors in this runtime.
In addition, it takes time to compile an application. Therefore, the first user in your system will find significant delays. If you change the program frequently (many ASP programmers will do this), your users will find that the performance is significantly reduced.