Asp. NET Getting Started Tutorial: ASP. NET and ASP differences

Source: Internet
Author: User
Tags contains net what is asp
Web Teaching Network in the last article introduced what is asp.net, so that you have a simple understanding of ASP.net, this section focuses on the asp.net and ASP differences. ASP.net has better language support, a complete set of new controls, xml-based components, and better user authentication. asp.net code is not fully backward compatible with ASP.

ASP.net has better language support, a complete set of new controls, xml-based components, and better user authentication.

asp.net provides stronger performance by allowing code to be compiled.

asp.net code is not fully backward compatible with ASP.

new characteristics of asp.net
    • Better language support
    • Programmable controls
    • Event-driven programming
    • XML-based components
    • User authentication, with account number and role
    • Higher scalability
    • Stronger performance-Compiling code
    • Easier to configure and develop
    • Incomplete ASP compatibility
Language Support

ASP.net uses the new ado.net.

asp.net supports full Visual Basic, not VBScript.

ASP.net supports C # (C sharp) and C + +.

asp.net supports JScript, as before.

asp.net control

asp.net contains a large number of HTML controls. Almost all HTML elements on a page can be defined as ASP.net controls, which can be controlled by scripting.

ASP.net also contains a series of new object-oriented input controls, such as programmable list boxes and validation controls.

The new data grid control supports sorting, paging, and everything you expect from a DataSet control.

Event-driven controls

asp.net objects on all Web pages can have events that can be handled by ASP.net code.

Loading, clicking, and changing events that can be handled by the code make programming easier and more organized. This information represents the source of the article Web teaching webjx.com please go to www.webjx.com Browse!

asp.net components

The ASP.net component is deeply based on XML. For example, the new Ad Rotator, which uses XML to store advertising information and configuration.

user authentication

asp.net supports user authentication based on forms, including cookie management and automatic unauthorized logon redirection.

(You can still customize your login page and user verifier).

User accounts and Roles

asp.net allows user accounts and roles to give different server code access rights to each user (with a given role).

High Scalability

ASP.net has improved a lot in terms of providing greater scalability.

Server communication to the server has been greatly enhanced, which makes it possible to distribute an application proportionally on several servers. An example of this is that we have the ability to run XML parsers, XSL transformations, and even resource-intensive session objects on different servers. See this information that the text is published through the Web Teaching (webjx.com), please do not delete!

Compiling code

The first request to the ASP.net page on the server is to compile its asp.net code and save a cached backup in memory. The result of this, of course, greatly improves performance.

Easy to configure

The configuration of ASP.net can be done through a plain text file.

Profiles can be uploaded and modified while the application is running. No need to reboot the server. There are no metabase and registration problems.

Easy to develop

You do not need to restart the server to configure and replace the compiled code. asp.net will simply redirect all new requests to the new code.

compatibility

ASP.net is not fully compatible with earlier versions of ASP, and most of the old ASP code needs to be modified to run under ASP.net.

To solve this problem, ASP.net uses a new file suffix, ". aspx". This enables the ASP.net application to run on the same server as the ASP application.



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.