Solved

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

Posted on 2004-10-19
2
232 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows Standards for file storage. 3 25
xml attribute DTD attribute differences 3 71
Coova-Chilli can't work with URL using HTTPS! 3 221
Form submit issue 11 85
Article by: Matthew
I am a very big proponent of technology compliance standards and strive to meet such criteria in all of my work. That includes my site, which is 100% XHTML 1.0 compliant as determined by the World Wide Web Consortium. https://www.matthewstevenkel…
Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

803 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