News:

GinGly.com - Used by 85,000 Members - SMS Backed up 7,35,000 - Contacts Stored  28,850 !!

Main Menu

Basic Ideas about VB.Net / ASP.Net and their Packages

Started by Kalyan, Jul 26, 2008, 09:55 PM

Previous topic - Next topic

Kalyan

Basic Ideas about VB.Net / ASP.Net and their Packages

1. VB is object based, event driven programming language, where as vb.net completely supports oops
2. VB doesn't support Inheritance but vb.net supports.
3. VB doesn't supports threading.
4. VB is interpreted language but vb.net is compiled language.
5. By default the variable is variant in vb and where as in vb.net it is object.
6. In dot net we can develop console applications, web applications, mobile apps, smart device apps, but this was not possible in VB.
7. Lot of Advanced controls available in VB.net
8. In VB, only recordset concepts ( connection methods) are available, ex. DAO, ADO, RDO methods. But in dotnet ado.net(disconnected Database) method is also availble.
9. Cross language integration, Cross language Debugging and cross langauge inheritance is also possible in vb.net

These are the main differences i know. Other than this there are lot of differences between vb and vb.net.

ASP run under the inetinfo.exe(IIS) process space and hence susceptible to application crashes as a result the IIS needs to be stopped or restarted. ASP is related to the process isolation setting in IIS.

But, ASP.Net worker process is a distinct worker process, aspnet_wp.exe, separate from inetinfo.exe ( IIS process), and the process model in ASP.NET is unrelated to process isolation settings in IIS.

Classical ASP had no mechanism of running itself on non- Microsoft technology platforms like the 'The Apache Web Server'

But, ASP.NET could be run on non-Microsoft Platforms also. Cassini is a sample Web server produced by Microsoft which, among other projects, has been used to host ASP.NET with Apache.

In ASP only two languages were available for scripting VBScript and Jscript/Javascript.

But in ASP.NET we are no longer constrained to the two scripting languages available in traditional ASP: Any fully compliant .NET language can now be used with ASP.NET, including C# and VB.NET.ASP engine executes server-side code, which is always through an interpreter (JScript or VBScript). ASP.NET pages are always compiled into .NET classes housed within assemblies.

This class includes all of the server-side code and the static HTML, so once a page is accessed for the first time, subsequent rendering of that page is serviced by executing compiled code.