ASP.NET VS ASP - the difference between compilation and explanation

zhaozj2021-02-16  65

ASP.NET VS ASP

- Difference between compilation and explanation

June 2000 Microsoft issued the .NET program, the programming work has caused a epoch-making revolution in the industry. ASP.NET is an important part of the .NET plan that provides many new features for web application developers, including compiled server-side code, one separated by server-side logic with client layout Code-behind technology, scalable server-side control model, design data binding model, XCopy deployment, and form ID card authentication support on customers and servers.

Asp.net is an advanced web application development technology that has revolutionary progress relative to the ASP. It uses the compiled language (including resources such as metadata, IL), which is a major reason why .aspx files have greatly improved, and ASP.NET is different from previous ASPs. ASP.NET's first load page is slow, but the speed of loading this page will be ASP can't match, and its speed is fast. This is because ASP.NET requires overhead when accessing the web page: Load the ASP.NET worker process, analyzing the .aspx file syntax, compiles it into an executable assembly. This is different from the ASP engine executive server code because the ASP always hands the server code to the JScript or VBScript interpreter each time.

ASP.NET is not known as ASP 4.0, but in many ways, it is the ASP version 4.0. We can see the similarities of the .aspx file from the two examples below:

Routine 1: ASPX page example

<% @ Page Language = 'C #'%>