Detuction ASP.NET (1)

zhaozj2021-02-08  228

Detuction ASP.NET (1) Green Apple Studio (Compilation) 01-5-16 02:46:09

Summary

The ASP is now rebuilt from beginning to foot, and the result is ASP.NET. It is not just ASP 4.0, which is a new framework for web development, which contains many new features. ASP.NET provides easier to write, more clear code, which is easy to reuse and sharing; ASP.NET uses compiled languages, thereby promoting performance and scalability; ASP.NET uses web forms to develop more Intuitive, using the object-oriented technology to promote the reuse of components. In addition, ASP.NET also includes page events, web controls, buffer technology, and server controls and improvements to data bundle. For the library for ASP.NET, and allow the programmer to use customer commercial functions in the Microsoft.Net framework to provide more new development opportunities for programmers.

Advantages of ASP.NET

ASP.NET makes the code more clean. In the existing ASP application, no matter how you write them, the structure is always full of short code. The code of ASP.NET is not only easier to write, but also more clean, more easy to read than the ASP code. At the same time, the structure of the ASP.NET code improves its reuse and sharing.

ASP.NET improves configuration, scalability, security, and reliability. For simple ASP applications, the configuration is actually nothing, but it will encounter problems when you transplant it into an N layer structure using the component. DLL traps (component registration, version, locked DLL, etc.) will appear when you configure and maintain these applications. The component registration and DLL lock are canceled in ASP.NET, which fully uses the XML configuration file to solve this problem. This way you only need to perform a copy of the file to configure a web application.

ASP.NET provides better support for a variety of browsers. For ASP developers, browser compatibility issues seem to be an eternal issue. You or write code for a low-level browser, such as HTML 3.2, or restrict the page browsing range. The introduction of Wireless Application Protocol WAP devices will deepen this problem. This section of this article describes how ASP.NET solves browser compatibility issues.

ASP.NET creates a new type of web application. Current web applications are usually the same mode: a set of linear applications, then implant one of them. ASP.NET allows developers to break this single mode, create more dynamic and more scalable applications, which can better meet the company's business needs and provide a richer development environment.

Here you may think, although these goals are very expensive, they will make the application be difficult. Then, the opposite is true, it is necessary to develop more asp.net!

Let's take a fine to taste the powerful features of ASP.NET, including:

● Support for compiling languages

● Web form

● Follow the page event of the page object

● WEB control

● Web Services

● Buffer technology

● Debugging and tracking

● Code and content isolation

● Universal library of namespace

● Configuration

Use the compiled language

Existing ASP versions are based on scripting languages ​​such as VBScript and JScript. There is no fault in the scripting language itself, but they have two major defects: they are explained, and the classification is not strict. ASP.NET does not completely abandon the concept of scripting languages, which introduces support for full-compiled languages ​​so that you can write your own server-side code with Visual Basic, for example: