ASP and ASP. NET

Source: Internet
Author: User

A program, speed is a very desirable thing. Once the code starts to work, you should try to make it run faster and faster,
In ASP, you only try to screw up your code as much as possible, so you have to transplant them to a component with only a few performance points. But now, Microsoft will launch
ASP. NET will properly solve this problem.

Compatibility

ASP is compatible with ASP. NET, so there is no need to worry that your existing applications will crash in the next version of IIS. ASP. NET file with new extension
Now, that is,. ASPX. Therefore, you can easily identify 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. This will make your application
Make many restrictions. 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 to manage and write. Because there are too many "small things" in ASP. NET that need to be considered,
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 it takes a lot of time, ASP. NET does provide some very new features; ASP will
Balance costs and provide functions 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 disturbing.
Annoying. Now, with the new version of the Windows Service System (NGWS), you no longer need to worry about these issues. You only need to copy the source file.
Paste the desired part to make it work normally. 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 webpage developers with more functions than HTML controls.

Caching

When users no longer give more commands to the server, ASP. NET allows objects and output data to be buffered, which greatly improves the speed. ASP. NET buffer system
It is very advanced. It allows you to identify what needs to be buffered, what does not need, and when to call up the buffer 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 make a mess of data, ASP. NET will automatically shut down, restart, and input the old commands
New process.
ASP. NET provides a series of new features and makes improvements based on the existing ones. Although it sounds good, it's not a problem. If not
ADO 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 system.
Basically, the runtime is the same as the Java Virtual Machine. The basic operation method of Runtime is to intercept code and translate it into a normal machine.
Language for the system to use, and also responsible for ASP. NET page compilation.

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
Platform, you only need to redo the program once, rather than redo all the programming languages. This is the cross-platform compatibility guaranteed by JAVA. You can find that
Similar to. NET, JAVA is a cross-platform exception. 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 re-compile them and
The latest version of dynamic storage.

Here, we can clearly feel the convenience brought by ASP. NET. In short, the compilation language, machine code, and powerful type variables are compared to
The script language explained earlier is much faster.

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
But it does not sound like a good solution. For example, the Java Virtual Machine greatly reduces the JAVA program's operating 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 often change the program. Many ASP programmers will do this), and your users will find that the performance is significantly reduced. The above introduces ASP and ASP. NET.

  1. Analysis on ASP. NET Web Security
  2. Session State of ASP. NET
  3. Analysis on the attribute ASP. NET of IsPostBack
  4. ASP. NET architecture and security mechanism
  5. Overview ASP. NET Crystal Reports

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.