Solved

ASP.NET vs. Visual Basic.NET - The difference

Posted on 2004-10-19
2
222 Views
Last Modified: 2010-04-06
Hi there.

I've been programming in ASP for a few years now, and I'm finally looking into learning the .NET framework. However, I'm a little baffled on the difference between ASP.NET and Visual Basic.NET (VB.NET). I've heard both used interchangably by some, and then heard that they are different from others. Using the web, I haven't found much info to distringuish between the two. Are there significant differences? Is ASP.NET more web based while VB.NET is more Windows based? Could you please explain by comparing and contrasting these two technologies so that I can develop a better undestanding? Thank you!
0
Comment
Question by:brownmetals
2 Comments
 
LVL 2

Expert Comment

by:ingomar
ID: 12349679
ASP.Net can use VB.Net just like ASP can use VBScript.  ASP.Net supports many languages such as C#, VB.Net, and many others.  So, when you try to pick up on ASP.Net, you'll actually have to learn one of the other languages.  I am in the process of learning ASP.Net using VB.Net.  I reccommend checking out the following book:http://www.sitepoint.com/books/aspnet1/ it teaches you ASP.Net using both C# and VB.Net.  Its helped me out a lot.
0
 
LVL 26

Accepted Solution

by:
rdcpro earned 100 total points
ID: 12362683
A lot of folks (incorrectly) use the term ASP interchangeably with VBScript.  For example "I'm creating a web site in ASP", but in fact, one is an application server framework and the other is a programming langauge.  So when I give them an example of some code written in JScript, they protest "but I'm using ASP"...  

Same goes for ASP.NET.  VB.NET is a programming language, and ASP.NET is a server-based application architecture that might use VB.NET (yuck!) or C# (yeah baby!) or another language.

Here's the main thing that sets ASP.NET apart from the stuff you've done up till now.  ASP.NET uses an event-based programming model, rather than the more traditional "top-down" model that ASP uses, which closely resembles creating Windows Forms in VB.NET or any other .NET language... While that's not the only way to use it, it does expose this to the programmer.   As ingomar said, you can use VB.NET or C# etc. as the programming language (if you do ASP using Javascript, as I do, then the transition to C# won't be all that painful).  

ASP.NET provides a template-based approach to creating web pages, which is nice, but many folks don't use it that way.  In fact, an ASP.NET web page can be created that looks an awful lot like an ASP web page--and just as messy, too, with code interspersed in the HTML.  Or you can use a CodeBehind page, and mess it up with a lot of HTML.  Lots of ways to paint yourself into a corner! ;^)

Regards,
Mike Sharp
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now