简体   繁体   English

asp和asp.net有什么区别?

[英]What is the difference between asp and asp.net?

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

ASP.NET is not the same as ASP. ASP.NET与ASP不同。 The "old" ASP is now called classic ASP. “旧”ASP现在称为经典ASP。 ASP.NET is a Markup Language can, among other things, use the server server controls to run elements. ASP.NET是一种标记语言 ,除其他外,可以使用服务器服务器控件来运行元素。

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. 然后你说它将在服务器上运行,你有一个id来控制它。

  • NET is the framework (such as a library) NET是框架(例如库)
  • C #, J #, VB.NET, they are the main script languages for communicating with. C#,J#,VB.NET,它们是用于通信的主要脚本语言 NET
  • ASP.NET is Markup Language . ASP.NET是标记语言
    it runs on the server side. 它运行在服务器端。 It generates xml / html / xHTML even further, to the user. 它进一步为用户生成xml / html / xHTML。 In many ways one can compare ASP.NET, with WinForms. 在许多方面,人们可以将ASP.NET与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 asp (有时称为classic asp )和asp.net之间存在一些差异

  1. ASP is interpreted while ASP.NET is compiled, That's why ASP.NET work faster then ASP. 编译ASP.NET时解释ASP,这就是ASP.NET比ASP更快的工作原因。
  2. ASP use ADO while ASP.NET use ADO.NET to for database connectivity. ASP使用ADO,而ASP.NET使用ADO.NET进行数据库连接。
  3. ASP usage classic languages like VB Script while ASP.NET use .NET classes like C#. ASP使用经典语言,如VB Script,而ASP.NET使用.NET类,如C#。
  4. ASP page use .asp extension and ASP.NET use .aspx extensions. ASP页面使用.asp扩展名和ASP.NET使用.aspx扩展名。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 asp和asp.net有什么区别? - What is the difference between asp and asp.net? ASP.NET vNext和ASP.NET 5有什么区别? - What is the difference between ASP.NET vNext and ASP.NET 5? ASP.NET 和 ASP.NET MVC 有什么区别? - What is the difference between ASP.NET and ASP.NET MVC? ASP.NET MVC中<%:和<%=有什么区别? - What is the difference between <%: and <%= in ASP.NET MVC? asp.net web 方法和 wcf 服务有什么区别? - What is the difference between an asp.net web method and a wcf service? 在asp.net中RequiredFieldValidator Text和ErrorMessage有什么区别? - In asp.net RequiredFieldValidator What is difference between Text and ErrorMessage? 在asp.net中ValidationProperty和ValidationPropertyAttribute元数据属性有什么区别? - In asp.net what is the difference between ValidationProperty and ValidationPropertyAttribute metadata attribute? ASP.NET中的“ ID”和“ BehaviorID”属性有什么区别? - What's the difference between the property “ID” and “BehaviorID” in ASP.NET? 在asp.net中,gridview和Repeater控件有什么区别 - In asp.net , what is the difference between gridview and repeater controls ASP.NET dev服务器和IIS Express有什么区别? - What is the difference between ASP.NET dev server and IIS Express?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM