My first experience with (got to go….)

November 18, 2010

ASP and are completely different in the sense you do not need to know the ASP to kick start does uses the OO languages C# and for the scripting, which is absent in classic ASP. This way the needs a knowledge in C# or in

Also we can write the ASP page for the server side execution of any functionality like fectching and validating datas from the server data base. In case of any client side coding like giving the user a message or validating the fields can be done through the scripting languages like Javascript or VBscript. is compiled

Since ASP uses vb script, there is no compilation. All ASP pages are interpreted when th page is executed.

ASP.NET uses modern .NET languages like C#, VB.NET etc. They can be compiled to efficient Microsoft Intermediate Language (MSIL). When you compile an ASP.NET application, the server side code is compiled to assemblies. These assemblies are loaded at run time which makes the ASP.NET pages perform better than classic ASP.


Classic ASP uses a technology called ADO to connect and work with databases. ASP.NET uses the ADO.NET technology (which is the next generation of ADO).

Event Driven Programming

It is so easy to drag and drop a button control and double click on the button to write the event handler for the button click event. When you click on the button at turn time, it will execute whatever code you have written in the event handler.

This type of event driven programming was not available with classic ASP. You cannot drag and drop a button and write a ‘on click’ event handler with ASP.

With ASP.NET, this is changed. It works pretty much like your Visual Basic program. You can write event handlers for several events like button click event, text changed event etc. However, there is big difference between the way event handling works in regular Visual basic and ASP.NET. In ASP.NET, a page is loaded in the client browser. And the server may be in another location (may be in another country). When you click on the button in an ASP.NET page, the ‘click event’ handler has to be executed on the server, not on the client.

Also how shall the server made to know that an event has occured such that the will execute the code for the relative event? This is made possible through client side script (Javascript or VBscript) such that script sends a message to the server that an event has occured and the respective event handler will execute on the serevr side. This is how the page does works and funtions. very secure

The’s ability to have the execution on the server side and on the client side only the HTML of the page layout is visible and not the script that gets compiled on the server, and so the end user is completely unaware of the functionality that happen on the back end and is given no access on the scripting code at any cost. Thus making the more secure.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: