Difference between Asp and Asp.net

Posted by Shweta_Pinky under Visual Studio on 6/30/2013 | Points: 10 | Views : 1549 | Status : [Member] | Replies : 2
Please tell me some of the difference between Asp and Asp.net


Posted by: Satyapriyanayak on: 7/1/2013 [Member] [MVP] Silver | Points: 25


1) ASP is Interpreted language based on scripting languages like Jscript or

2) ASP has Mixed HTML and coding logic.

3) Limited development and debugging tools available.

4) Limited OOPS support.

5) Limited Session and Application state management.

6) Poor Error-Handling Mechanism.

7) No in-built support for XML.

8) No fully distributed data source support.


1) ASP.Net is supported by compiler and has compiled language support.

2) Separate code and design logic possible.

3) Variety of compilers and tools available including the Visual studio.Net.

4) Completely Object Oriented Support.

5) Complete Session and Application state management.

6) Full proof Error-Handling Mechanism.

7) Full XML Support for easy data exchange.

8) Fully distributed data source support

Also refer the below links


If this post helps you mark it as answer

Shweta_Pinky, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Pavanandey on: 7/1/2013 [Member] Bronze | Points: 25


ASP uses scripting languages such as javascript or vbscript to perform server-side manipulation. These languages are typeless interpreted languages. This means there is no such thing as a string or a number in these languages (kind of, but not really) and no support for class OOP techniques.
ASP.NET can be built from any language that has been integrated into the .NET framework. A non-exhaustive list includes C#, VB.NET, Python, C++, more
These .NET languages allow for OOP and managed code, while classic ASP relies on COM and ActiveX to build re-usable libraries or tools.
.NET has additional methods to persist data in addition to the Session variables commonly used in classic ASP. These include ViewState and ControlState. This means that some of the tedious work from ASP such as storing information in hidden variables and then re-populating and updating these values with each post or get is automatically handled by ASP.NET. Additionally, .NET has an event-driven lifecycle for the page, meaning that specific events on the page such as clicking a button can be handled individually.
.NET pages are structured as objects with functions, methods, properties, and events instead of the global free for all that occurs in most classic ASP pages.
ASP.NET has built in controls that handle much of the everyday tasks required in an html page. For example a GridView control can be used to build a table of data that is linked to a datasource. The datasource can also be a control. The benefit of using these controls is that they handle the low-level html generation and allow the developer to spend more time on working out logic and styling instead of having to worry about missing </tr> or </td> tags, etc.


Both are run on a server through IIS (or some similar method) and generate html that is returned to the client.
The VBScript syntax is basically the same as VB.NET.
Data is passed back and forth routinely through Request.Form or Request.QueryString; however, ASP.NET can directly access controls on the page.

Pavan Kumar
Mark Answer if this fits the need

Shweta_Pinky, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response