简体   繁体   中英

What is the difference between asp and asp.net?

我想知道asp和asp.net有什么区别?

ASP.NET is not the same as ASP. The "old" ASP is now called classic ASP. ASP.NET is a Markup Language can, among other things, use the server server controls to run elements.

As for example:

<form id="MyForm" runat="server">

Then you said that it will run on the server and you have an id to control it.

  • NET is the framework (such as a library)
  • C #, J #, VB.NET, they are the main script languages for communicating with. NET
  • ASP.NET is Markup Language .
    it runs on the server side. It generates xml / html / xHTML even further, to the user. In many ways one can compare ASP.NET, with WinForms. Then there is a way to visually show something to the user.

There is several differences between asp (sometimes called classic asp ) and asp.net

  1. ASP is interpreted while ASP.NET is compiled, That's why ASP.NET work faster then ASP.
  2. ASP use ADO while ASP.NET use ADO.NET to for database connectivity.
  3. ASP usage classic languages like VB Script while ASP.NET use .NET classes like C#.
  4. ASP page use .asp extension and ASP.NET use .aspx extensions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM