ASP. NET has better language support, a set of new controls, XML-based components, and better user authentication.
ASP. NET provides better performance by allowing compiled code.
ASP. NET code is not fully backward compatible with ASP.
New ASP. NET features
* Better Language Support
* Programmable controls
* Event-driven programming
* XML-based components
* User identity authentication with accounts and Roles
* Higher scalability
* Better performance-compile code
* Easier configuration and development
* Incomplete ASP compatibility
Language Support
ASP. NET uses the new ADO. NET.
ASP. NET supports complete Visual Basic instead of VBScript.
ASP. NET supports C # (C sharp) and C ++.
ASP. NET supports JScript, which is the same as before.
ASP. NET controls
ASP. NET contains a large number of HTML controls. Almost all HTML elements on pages can be defined as ASP. NET controls, which can be controlled by scripts.
ASP. NET also contains a series of new object-oriented input controls, such as programmable list boxes and verification controls.
The new data grid control supports classification, data paging, and what you expect from a dataset control.
Event-driven controls
All ASP. NET objects on Web pages can be processed by ASP. NET code.
Events that can be loaded, clicked, and changed by code processing make programming easier and more organized. This information represents the source of the Article. Please visit www!
ASP. NET components
ASP. NET components are deeply XML-based. For example, the new AD Rotator uses XML to store AD information and configurations.
User Authentication
ASP. NET supports form-based user authentication, including cookie management and automatic unauthorized logon redirection.
(You can still customize your login page and user verification program ).
User Account and role
ASP. NET allows user accounts and roles to grant different server code access permissions to each user (with a given role.
High scalability
ASP. NET has greatly improved its scalability.
The communication between the server and the server has been greatly enhanced, which makes it possible to allocate an application on several servers in proportion. An example of this is that we have the ability to run XML parser, XSL conversion, and even resource-consuming session objects on different servers. This information indicates that this document was published through webpage teaching. Please do not delete it!
Compile 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 the memory. Of course, the performance is greatly improved.
Easy to configure
You can configure ASP. NET through a plain text file.
The configuration file can be uploaded and modified when the application is running. You do not need to restart the server. There are no difficulties in metabase and registration.
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 ASP versions. Most of the old ASP code must be modified to run in ASP. NET.
To solve this problem, ASP. NET uses a new file suffix ". aspx ". In this way, ASP. NET applications and ASP applications can run on the same server together.