|
Following are the points that differentiate ASP and ASP.NET- ASP cannot run on non Microsoft technology platforms, whereas ASP.NET can run on non Microsoft Platforms like Apache Web Server and many more.
-
In ASP, only two languages were available for scripting. VBScript and Jscript/Javascript, whereas in ASP.NET, any.NET language compliant can be used, including C# and VB.NET.
-
In ASP, the code is interpreted through Jscript or VBScript interpreter. In ASP.NET, the code is compiled into .NET classes and stored within assemblies. The execution of compiled code results in increasing performance.
-
Debugging ASP is comparatively difficult than debugging ASP.NET code as ASP.NET provides several debugging tools that automates the debugging process.
- Deployed ASP applications are difficult to update. For updating or replacing a file in deployed application, IIS server needs to be shut down IIs and after replacing the file(s), it is restarted again. Whereas in ASP.NET, updating a file in deployed application doesn't require to stop the web server, instead the file is easily replaced by using the shadow copy mechanism provided by the Common Language Runtime (CLR).
-
In ASP, all directives have to be placed on the first line of a page. In ASP.NET, the directives may be placed anywhere in the file
ASP has no inbuilt facility for validation of controls and manual coding is required to validate controls.
- In ASP.NET, several built in validation controls are provided that are very easy to implement so no need to write code for validating controls.
|