ASP stands for Active Server Pages. ASP.NET is a new generation of ASP. After introductions ASP.NET, ASP longer called 'classic ASP'.
Classic ASP uses vb script for server side code. VB Script is no longer supported in ASP.NET. Instead, ASP.NET supports more programming languages, including C #, VB.NET, J # and other. VB.NET is very similar to the vb script, so it will be easy for the Visual Basic or ASP programmers to switch to VB.NET and ASP.NET.
VB Script is a scripting language that is simple, while VB.NET or C # is a modern programming language, very powerful, object-oriented programming language. For that reason you will be able to write programs ASP.NET is better than ASP.
At no classic ASP server control. You have to write all html tags manually. ASP.NET offers a number of controls called Server Control and Html Control. It's easy to drag and drop any control on a web form. Visual Web Developer (Express) or VS.NET will automatically write the necessary HTML tags for you.
Is interpereted ASP, ASP.NET is compiled
Because ASP vb script, then there is no compilation process. All ASP pages in-interpreted at the time the web page is executed.
ASP.NET language. NET modern C #, VB.NET and other. This programming language can be compiled into Microsoft Intermediate Language (MSIL) is efficient. When you compile an ASP.NET application, the server side code is compiled into assemblies form. Assembliers are loaded at run-time which makes ASP.NET pages work better than classic ASP.
ADO and ADO.NET
Classic ASP uses a technology called ADO to connect and work with the database. ASP.NET uses ADO.NET technology (which is the new generation of ADO)
Event driven programming
If you've never written a Visual Basic, you will like the event driven programming approach. Easy to drag and drop a button control and double-click the download button to write an event handler for the event on click on the button. When you click on the button at run time, it will run any code that you write in the event handler on click on the button.
Type of event driven programming is not available on classic ASP. You can not drag and drop buttons and write 'on click' event handler with ASP.
With ASP.NET, this is changing. It is very similar to the Visual Basic program. You can write event handlers like button click event, text changed and other events.
Nevertheless, there is a big difference between the way event handling works in Visual Basic to ASP.NET. On ASP.NET, the web page is loaded in the browser on the client computer. And server are in different locations (could be in another country). When you are click a button on an ASP.NET web page, then 'click event' handler should be executed on the server, not on the client computer.
How does the server know when you click a button on your browser? It is a trick of ASP.NET. When you write an event handler for the button or the other in ASP.NET, a lot of things going on behind the scenes. ASP.NET will create a lot of client side java script code to handle this and unify this java script in the html code that is sent to the browser. When you are click the button on the browser, the client side java script will be executed. This java script will generate the information needed to submit a request to the server. There is enough information on this request so that the server will know that the user has been clicking-click the specific button on the browser and the server must be running code 'event handler' specified on the server side. So, when the user click the on button, the web page is submitted automatically to the server with specific information. On the server side, it will be processed on the event handler on the button click and send output back to the browser web page. In the same way you can also write code for the event handler to another, for example to change the text in the text box or other control.