Fog Creek Software
Discussion Board

Welcome! and rules

Joel on Software

difference between asp and

hi experts,

Can any one tell me what is the difference between VB and VB.NET, ASP and ASP.NET, C# and C#.NET?
PLease can you also specify the advantages of these .net technologies over the existing platform?

Any comments/answer will be highly appreciated.


Sandeep Tikariha
Thursday, June 17, 2004

Duncan Smart
Thursday, June 17, 2004

The differences are quite huge, arising from the following underlying re-arrangement of how vb and asp work......

VB creates exe. dll etc, using its own supporting procedures which are contained in other dll's such as msvbvm6.dll.  These are unique to VB. also creates exe. dll, etc, but uses the same run-time classes as other languages in the .net family.

Going from VB to requires you to change many, many procedure calls and there are many programme changes to bring vb into line with the .net framework (eg arrays all start at 0, there is no option base 1)

Also all references are dealt with just like other .net languages.

Summary........ considerable change, depending on what your current vb programs do.

ASP is a script driven language.  Scripts are interpreted every time the page is opened, and the link to your database files re-established.  When an ASP page finishes its work, that's it.  It doesn't stay in memory. generates near-object code for each page, and puts this into a dll. At run time, the code is finalised according to the browser being used, and a response generated whch takes into account the browser which called it.

Your database connections and any datasets which you have created whilst the page was running remain active for as long as the session is active, or unless you explicitly delete them, so re-visiting the same page/database is much quicker in the same session after the first visit.

Summary........ considerable change in design philosophy requiring more changes if you convert an ASP page to ASP.Net.  However, asp and pages can run together in the same web!

Hope this helps.  Your question introduces a big topic, and there are lots of books around.

Vaughan Chetwynd
Sunday, July 25, 2004

*  Recent Topics

*  Fog Creek Home