Home > Article > Backend Development > The difference and connection between Asp and Asp.Net
I saw a friend on the Internet today asking about the difference between asp and asp.net. The editor himself also transitioned from ASP to .NET. After a few years, he has almost forgotten the existence of ASP, and cannot tell the difference between them, because I feel that there is no connection between the two. I have to say that there is a connection. That is, they are all from MS, and the interface design on both sides uses Html, JS, CSS, etc. But in the final analysis, these have nothing to do with the differences between asp.net and asp.
The difference between Asp and Asp.Net
Different development languages
ASP is limited to the use of non-type scripting languages For development, the method for users to add ASP code to the WEB page is the same as the method for adding code to the client script, resulting in messy code.
ASP.NET allows users to choose and use a fully functional strong-typeprogramming language, and also allows the use of the .NET Framework with huge potential.
Different operating mechanisms
ASP is a programming framework that interprets and runs, so the execution efficiency is very low.
ASP.NET is a compiled programming framework that runs on the compiled common language runtime library code on the server. Early binding can be used to implement compilation to improve efficiency.
Development method
ASP mixes interface design and program design, making maintenance and reuse difficult.
ASP.NET separates interface design and program design into different files, which improves reusability and maintainability.
Notes
For programmers who switch from asp to asp.net, the biggest difference is that asp.net introduces servercontrolthis thing. In asp.net, it can be said that everything is a control. Even a Page can be regarded as a special server control. The use of asp.net is the use of server controls. If you understand the control, you will understand it. asp.net.
The above is the detailed content of The difference and connection between Asp and Asp.Net. For more information, please follow other related articles on the PHP Chinese website!