Friday, 7 March 2014

ASP and ASP.NET

ASP

(Active Server Pages) is developed by Microsoft with the extension .asp that contains a combination of HTML tags and scripts that run on a web server.


ASP.NET

Is a server-side Web application framework designed for Web development to produce dynamic Web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. ASP.NET is built on the Common Language Runtime(CLR), allowing programmers to write ASP.NET code using any supported .NET language. The ASP.NET SOAP extension framework allows ASP.NET components to process SOAP messages.

ASP.NET Web pages, known officially as Web Forms, are the main building blocks for application development. Web forms are contained in files with a ".aspx" extension; these files typically contain static (X)HTML markup, as well as markup defining server-side Web Controls and User Controls where the developers place all the rc content for the Web page.


What is the difference between ASP and ASP.NET?

ASP
ASP.NET
ASP does not take part in .NET development. 
ASP.NET takes part in .NET development and ASP.NET 3.0 is a replacement of ASP 3.0.
ASP is a request response model.
ASP.NET is a programming model that is event driven.
ASP code is an interpreted language that is interpreted by the script engine.
ASP.NET is a compiled CLR code that will be executed on the Server.
HTML and the coding logic are mixed in ASP.
The code and design logic is separated in ASP.NET.
To develop and debug ASP application, there are very limited tools.
ASP.NET application can be developed and debugged using various tools including the leading Visual Studio .NET tool.
ASP has limited support to Object Oriented Programming principles.
ASP.NET is a complete Object Oriented Programming language.
Session management and application state management is very limited in ASP.
ASP.NET extends complete support for session management and application state management.
Error handling system is poor in ASP.
ASP.NET offers complete error handling and exception handling services.
ASP does not offer any in-built support for the XML.
In ASP.NET, data exchange is easily performed using XML support.  
Data source support is not fully distributed in ASP.
Data source support is fully distributed in ASP.NET.


No comments:

Post a Comment