asp和asp.net之间的区别

时间:2022-03-05 04:44:45

What is the difference between asp and asp.net?

asp和asp.net之间有什么区别?

6 个解决方案

#1


26  

"Classic" ASP uses vbscript for its code. ASP.NET allows you to use C#, VB.NET and other languages. ASP.NET gives you access to all the tools which come with the .NET framework and allows you to write object-oriented code.

“经典”ASP使用vbscript作为它的代码。ASP。NET允许你使用c#, VB。网和其他语言。ASP。NET允许您访问.NET框架附带的所有工具,并允许您编写面向对象的代码。

#2


14  

They are too numerous to list here. I suggest you read ASP.NET compared with classic ASP Wikipedia.

它们太多了,不能列在这里。我建议你读ASP。NET与经典的ASP Wikipedia相比。

--

- - -

Aside: My original answer referred to a resource on w3schools.com that is today no longer available. If you would like to access it, you may do so by utilizing the Wayback archive: ASP.NET vs ASP.

除了:我最初的回答是在w3schools.com上的一个资源,今天已经不再可用了。如果您想访问它,可以使用Wayback archive: ASP来访问。净和ASP。

#3


4  

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 controls to run elements.

ASP。NET和ASP不一样。“旧的”ASP现在被称为经典的ASP。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. NET
  • c#, j#, VB。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.
  • ASP。NET是标记语言。它在服务器端运行。它甚至进一步向用户生成xml / html / xHTML。在许多方面,人们可以比较ASP。净,WinForms。然后,有一种方法可以直观地向用户显示一些东西。

#4


2  

ASP is older (also called "classic ASP"). ASP.NET is newer, using the .NET framework.

ASP比较古老(也称为“经典ASP”)。ASP。NET是较新的,使用。NET框架。

See: http://www.w3schools.com/aspnet/aspnet_vsasp.asp

参见:http://www.w3schools.com/aspnet/aspnet_vsasp.asp

#5


2  

Classical ASP had no mechanism of running itself on non- Microsoft technology platforms like the 'The Apache Web Server'

经典的ASP没有在非微软的技术平台上运行的机制,比如“Apache Web服务器”

But, ASP.NET

但是,ASP.NET

ASP.NET could be run on non-Microsoft Platforms also. Cassini is a sample Web server produced by Microsoft which, among other projects, has been used to host ASP.NET with Apache.

ASP。NET也可以在非微软平台上运行。Cassini是微软生产的一个示例Web服务器,在其他项目中,它已经被用于托管ASP。净与Apache。

Multi Language Support in WebPage

多语言支持网页

In ASP only two languages were available for scripting VBScript and Jscript/Javascript. But in ASP.NET We are no longer constrained to the two scripting languages available in traditional ASP: Any fully compliant .NET language can now be used with ASP.NET, including C# and VB.NET.

在ASP中,只有两种语言可用来编写VBScript和Jscript/Javascript脚本。但在ASP。NET不再局限于传统ASP中的两种脚本语言:任何完全兼容的。NET语言现在都可以与ASP一起使用。NET,包括c#和VB.NET。

Note :- (C# and VB.Net are both server Side languages.)

注意:- (c#和VB)Net都是服务器端语言)

#6


2  

According to IndiaBIX's answers to ASP.NET interview questions:

根据IndiaBIX对ASP的回答。NET面试问题:

The basic difference between ASP and ASP.NET is that ASP.NET is compiled whereas ASP is interpreted whereas. This implies that since ASP mainly uses VBScript, when an ASP page is executed, it is interpreted. On the other hand, ASP.NET uses.NET languages, such as C# and VB.NET, which are compiled to Microsoft Intermediate Language (MSIL).

ASP和ASP的基本区别。净,ASP。NET是编译的,而ASP是解释的。这意味着,由于ASP主要使用VBScript,当执行一个ASP页面时,它将被解释。另一方面,ASP。网络的用途。NET语言,如c#和VB。NET,它被编译成Microsoft中间语言(MSIL)。

Also see the section of the Wikipedia article that compares ASP.NET to ASP classic for a detailed comparison.

还请参阅Wikipedia文章中比较ASP的部分。NET到ASP经典的详细比较。

#1


26  

"Classic" ASP uses vbscript for its code. ASP.NET allows you to use C#, VB.NET and other languages. ASP.NET gives you access to all the tools which come with the .NET framework and allows you to write object-oriented code.

“经典”ASP使用vbscript作为它的代码。ASP。NET允许你使用c#, VB。网和其他语言。ASP。NET允许您访问.NET框架附带的所有工具,并允许您编写面向对象的代码。

#2


14  

They are too numerous to list here. I suggest you read ASP.NET compared with classic ASP Wikipedia.

它们太多了,不能列在这里。我建议你读ASP。NET与经典的ASP Wikipedia相比。

--

- - -

Aside: My original answer referred to a resource on w3schools.com that is today no longer available. If you would like to access it, you may do so by utilizing the Wayback archive: ASP.NET vs ASP.

除了:我最初的回答是在w3schools.com上的一个资源,今天已经不再可用了。如果您想访问它,可以使用Wayback archive: ASP来访问。净和ASP。

#3


4  

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 controls to run elements.

ASP。NET和ASP不一样。“旧的”ASP现在被称为经典的ASP。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. NET
  • c#, j#, VB。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.
  • ASP。NET是标记语言。它在服务器端运行。它甚至进一步向用户生成xml / html / xHTML。在许多方面,人们可以比较ASP。净,WinForms。然后,有一种方法可以直观地向用户显示一些东西。

#4


2  

ASP is older (also called "classic ASP"). ASP.NET is newer, using the .NET framework.

ASP比较古老(也称为“经典ASP”)。ASP。NET是较新的,使用。NET框架。

See: http://www.w3schools.com/aspnet/aspnet_vsasp.asp

参见:http://www.w3schools.com/aspnet/aspnet_vsasp.asp

#5


2  

Classical ASP had no mechanism of running itself on non- Microsoft technology platforms like the 'The Apache Web Server'

经典的ASP没有在非微软的技术平台上运行的机制,比如“Apache Web服务器”

But, ASP.NET

但是,ASP.NET

ASP.NET could be run on non-Microsoft Platforms also. Cassini is a sample Web server produced by Microsoft which, among other projects, has been used to host ASP.NET with Apache.

ASP。NET也可以在非微软平台上运行。Cassini是微软生产的一个示例Web服务器,在其他项目中,它已经被用于托管ASP。净与Apache。

Multi Language Support in WebPage

多语言支持网页

In ASP only two languages were available for scripting VBScript and Jscript/Javascript. But in ASP.NET We are no longer constrained to the two scripting languages available in traditional ASP: Any fully compliant .NET language can now be used with ASP.NET, including C# and VB.NET.

在ASP中,只有两种语言可用来编写VBScript和Jscript/Javascript脚本。但在ASP。NET不再局限于传统ASP中的两种脚本语言:任何完全兼容的。NET语言现在都可以与ASP一起使用。NET,包括c#和VB.NET。

Note :- (C# and VB.Net are both server Side languages.)

注意:- (c#和VB)Net都是服务器端语言)

#6


2  

According to IndiaBIX's answers to ASP.NET interview questions:

根据IndiaBIX对ASP的回答。NET面试问题:

The basic difference between ASP and ASP.NET is that ASP.NET is compiled whereas ASP is interpreted whereas. This implies that since ASP mainly uses VBScript, when an ASP page is executed, it is interpreted. On the other hand, ASP.NET uses.NET languages, such as C# and VB.NET, which are compiled to Microsoft Intermediate Language (MSIL).

ASP和ASP的基本区别。净,ASP。NET是编译的,而ASP是解释的。这意味着,由于ASP主要使用VBScript,当执行一个ASP页面时,它将被解释。另一方面,ASP。网络的用途。NET语言,如c#和VB。NET,它被编译成Microsoft中间语言(MSIL)。

Also see the section of the Wikipedia article that compares ASP.NET to ASP classic for a detailed comparison.

还请参阅Wikipedia文章中比较ASP的部分。NET到ASP经典的详细比较。