Crystal Translation · Yesky
A program, speed is a very eager thing. Once the code starts working, you will have to make it fast as much as possible, so fast,
In ASP, you only wonder your code as much as possible, so that they have to be transplanted into a part that only rarely performance. But now, Microsoft will launch
ASP.NET will properly solve this problem.
compatibility
ASP.NET is compatible with ASP, so it is not necessary to worry that your existing app will crash in the next version of IIS. ASP.NET files are available in new extensions
Now, ie .aspx, therefore, you can easily distinguish new and old documents.
There is too much imprisonment when using ASP.NET, if you want to get some convenience from ASP.NET, you have to do it according to its rules, so you will be possible to your app
Make a lot limit. On the other hand, Microsoft also strives to write less code, so it is only sacrificed in terms of fluency and coherence.
ASP.NET is relatively difficult to manage and write difficulties. Because in the asp.net, there are too many "little things" to be considered, so
Developers or initiators have to spend a lot of time to think about a problem: Why is the system so easy to die.
Obviously, ASP and ASP.NET will become next-generation web applications. Although there is a lot of spending, ASP.NET has indeed provided some very new features; ASP will
To balance the cost and provide some of the functions that ASP.NET.
Compile code
The code has been compiled under request, so you can prepare ASP.NET in any language. Even VBScript and Java Script are compiled.
COM object
When we use a typical ASP, we realize the problem with COM accompanying. Register Components, restart the server ..., it is a number of people
Annoying things. Now, because of the new generation of Windows Service System (NGWs), you no longer need to worry about these problems. You only need a simple copy source file, you need
Paste it is, it will work properly. No DLL registration without DLL.
XML configuration
All Metabase and configuration information are stored in the XML file through the NGWS framework. This means that you don't need to be a group turn, even
Go to change the settings. In fact, you only need to change the XML file from any one, and upload the change results to the server. No need for any type of remote PC control
system.
Web Forms and Web Controls
ASP.NET provides the Forms link to the server's feature, so you can handle the request more simply. Web Controls also provides similar features, and
Provide web developers with more features relative to HTML Controls.
Caching
ASP.NET allows objects and output data to be buffered when users no longer make more instructions for the server, which will greatly increase the speed. ASP.NET buffer system
Very advanced, it allows you to distinguish what needs to be buffered, which does not need, and when to adjust the buffer information
Upgradeability
Some very excellent upgradeability features are implanted in ASP.NET, including through the Server session state, and multiprocessor balance. ASP.NET
Runtime also also monitors the process, so when you make data, ASP.NET will automatically turn off, then restart, and turn old instructions to
In the new process.
ASP.NET provides a range of new features and is improved on the existing basis. Although it sounds good, it is not no problem. If it is not better
ADO support, everything will not be so beautiful.
File management
entire. The NET system is built on the NGWS Runtime. NGWS Runtime abolished the COM system us used to use. Instead, it is more popular Runtime. Fundamentally, Runtime is the same as Java virtual machine. Runtime's basic mode of operation is intercepted in the middle, and translates it into a normal machine
In order to use, the system is also responsible for the page compilation of ASP.NET.
Note: If you are not familiar with Java, fundamentally, the program in your computer translated Java code into a machine language. These codes are sent to different
Platform, you just need to re-do programs, not all of the programming languages. This is the cross-platform compatibility guaranteed by Java. You can find this
It is very similar to .NET, exception is that Java is a cross-platform, and. NET is multi-language compatibility.
The system also preserves tabs on the source file for your application. If the system is monitored by the program, Runtime will recombine them and
Store the latest compilation version.
Here, we can significantly feel the convenience of ASP.NET. In short, compile language, machine code, and powerful type variables are performed.
The scripting language that is explained before.
We can't help but guess, how much will we spend new Runtime? Microsoft guarantees that the performance obtained from compiling the ASP PAGES will far exceed
The cost of the Runtime system, but this sounds not quite a good solution. For example, a Java virtual machine that reduces the operation speed of the Java program
Down. We only pray that there will be no similar serious errors in this runtime.
In addition, it is necessary to remind it that compiling an application also takes time, so the first user of your system will find a significant delay. in case
You often change the program (many ASP programs will do this), your users will find that performance is significantly reduced.