Question

What is the difference between asp and asp.net?

Was it helpful?

Solution

"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.

OTHER TIPS

They are too numerous to list here. I suggest you read ASP.NET compared with classic 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.

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.

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.

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

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

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

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).

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

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

But, 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.

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.

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top