What is the difference between ASP.Net and ASP

Showing Answers 1 - 16 of 16 Answers

Nirupama.A

  • Aug 30th, 2005
 

ASP .NET has 
 
 
Better language support  
Programmable controls  
Event-driven programming  
XML-based components  
User authentication, with accounts and roles  
Higher scalability  
Increased performance - Compiled code  
Easier configuration and deployment  
Not fully ASP compatible  
 
 

vittal

  • Sep 8th, 2005
 

ASP.NET is compiled common language runtime code running on the server.While in ASP its interpreted by script engine.

  Was this answer useful?  Yes

kumaraswamy

  • Oct 13th, 2005
 

There are a number of striking differences between ASP.NET and ASP. For some of these differences, the benefits will be immediately obvious. For others. We?ll have to get used to new ways of thinking about dynamic web Pages. Among the changes are:

ASP.NET pages are complied, not interpreted. A binary executable is compiled upon the first request to the page. This image is stored in an in-memory cache on the web server, and subsequent request to this page use this executable to service the request.

The Framework provides a very clean separation of code from content. With ASP, because the HTML is generated as the page is interpreted, your page logic must be embedded into the page at the location where you want the HTML  generated by this logic to be output. With ASP.NET, no HTML is generated until all of the code in your page has finished executing. The entire task of HTML generation is done in the page?s rendering step, which uses the properties for all of us who consider script writing and HTML generation a poor substitute to sitting down and writing real code.

 

ASP.NET Framework maintains state for you. Do you ever have to post of the server to apply validation logic to a data entry HTML form? When there?s a problem, you must write code to repopulate every input on your HTML form. You must also execute script inline to add validation messages next to the fields that have errors. The resulting code is often a tangled mess. If the business logic changes, that?s a tough page to maintain. With the ASP.NET Framework, this state maintenance is done for you. The fields maintain their value without a single line of code written by you. This applies not only to simple text inputs but also to SELECT lists, check boxes, radio buttons, and other input types on your form. Built-in validation controls allow you to enforce your business logic by adding a single tag to your page and simply checking the Page. Is Valid property when it posts to the server.

 

ASP.NET runs events on the server. In ASP, because of the amount of script that must be mixed with the HTML, it?s common to split a single functional area across several pages. One page may collect data from a user, whereas another accepts the HTTP post and updates your relational data, telling your user the result of the operation. Although its possible to put this functionality into a single ASP page you do so at the risk of needing to maintain a garbled mess of code over the long haul. Breaking these functions into separate pages causes the number of files in your web site to balloon. With ASP.NET, you can set up server side event traps

 

ASP.NET provides a consistent event model. With ASP, script is executed on the page in a top-down manner. Although it?s possible to put your script within functions that you call from the page body, there?s no event model that fires at specific points in the lifecycle of your page. With ASP.NET, this event model has been added. Most importantly, there?s an event fired whenever your page. With ASP.NET, this event your page begins to load. This is very much like the from_Load event in VB. The page load event can be trapped in a script tag or from your code behind the page. This gives you a consistent model for setting up your output.

ASP:

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

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

7) No in-built support for XML.

8) No fully distributed data source support.


ASP.Net:

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.

5) Complete session and application state management.

6) Full proof error handling possible.

7) Full XML Support for easy data exchange.

8) Fully distributed data source support

Pendurti

  • Sep 14th, 2008
 

ASP.NET is an advancement of classical ASP. 

Many problems that occurred in ASP have been solved in ASP.NET. 
1. ASP applications rely on the VB script language, which suffers from a number of limitations, including poor performance. In ASP.NET, web pages are designed in a modern .NET language, not a scripting language. 
2. If you want to update a component used in ASP website, you often need to manually stop and restart the server. ASP.NET includes a slew of features that allow websites to be dynamically updated and reconfigured.

These are the two main differences between classic ASP and ASP.NET.



  Was this answer useful?  Yes

Both ASP.Net and Classic ASP is used to create WebApplications based on client-server model.   ASP.Net uses the CLR and Microsoft Framework which generating the application.  It also uses the Visual Studio tool to create User Interface.  It also enables the usage of server side script and client side script coding using a variety of Languages that are Dot Net compatible.  Where as usage of Server controls and scripts in C# or VB are not possible in Classic ASP.

  Was this answer useful?  Yes

Ravi kumar

  • Jul 12th, 2011
 

Asp.net is a next of Asp but it's not a upgraded version of Asp. Asp is a interpreted language based on a scripting language like jscripts or vbscript.Asp limited development and debugging tools available.while asp.net is uses the CLR and Microsoft framework which generating the wbapplication.Asp.net support the XML easy to exchange data.

  Was this answer useful?  Yes

nirdesh gurjar

  • Oct 10th, 2011
 

Difference between ASP and ASP.NET

ASP.NET:
ASP.Net web forms have a code behind file which contains all event handling code.
ASP.Net web forms inherit the class written in code behind.
ASP.Net web forms use full fledged programming language
ASP.Net web applications are configurable (web.config)
ASP.Net webforms can use custom controls through the @ register directive
ASP.Net web forms have ADO.Net which supports XML integration and integration of data from two or more data sources


ASP:
ASP does not have such facility to separate programming logic from design.
ASP does not have the concept of inheritance.
ASP pages use scripting language.
ASP applications are not.
It is not available with ASP.
while ASP has ADO which is a simple COM object with limited facilities.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions