Quote:
Originally Posted by petersampsons
ASP is Script based language while ASP.NET Complied programming language...
|
A bit misleading. ASP and ASP.NET are *platforms*. Not languages at all.
ASP uses VBScript and JScript as its languages of choice. But in fact neither of those is a pure-script language, despite the names. In point of fact, both are compiled from source code into an internal byte code. That byte code is then indeed interpreted in order to execute the programs.
ASP.NET can use a variety of languages, though VB.NET and C# are by far the two most popular. Again, both those languages are compiled into a byte code. The big distinction between these languages and VBS and JS are that the .NET "interpreter" (the "Common Language Runtime") actually then can compile the byte code (also known as "Common Intermediate Language" or "CIL") produced by *any* compliant .NET language down to machine code. [If you care, this is quite similar to what Java systems do, where the process is known as "JIT" or "Just In Time compiling".]
It is also true that VB.NET and C# are "strongly typed languages" (though there is mode in VB.NET where the "strongly typed" part isn't determined until CIL time) where VBScript and JScript are "untyped" languages (a lie--both *have* types, but they automatically choose the needed type for you...most of the time...that "most" being a source of problems when it doesn't happen).
So there are both similarities and fundamental differences in the languages, but in many aspects the two
platforms accomplish the same things in much the same ways.