English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

if you code the asp.net page in vb.net then what's the difference between these two different programming languages? when should i use vb.net and asp.net ?

2007-03-18 01:56:56 · 4 answers · asked by nouman203 4 in Computers & Internet Programming & Design

4 answers

ASP.NET is not a language. ASP.NET is a methodology. VB.NET is one of the languages you can use to make ASP.NET pages.

A simile: A map is a way to figure out where you are and how to get someplace else. All maps contain basic things: distances, roads, landmarks, town and place names, etc. That's like ASP.NET: It is a program you can execute on a Web server. All ASP.NET programs follow certain rules, such as the controls you can use, the namespaces, etc.

Yahoo Maps, Google Maps, Expedia, MapQuest, whatever; they all make maps by following the basic rules of maps. That's like VB.NET: VB.NET is just one of several programming languages you can use to make ASP.NET, because it follows the basic rules of making ASP.NET pages.

2007-03-18 03:22:07 · answer #1 · answered by Anonymous · 0 0

asp.net is the web development technology to create web application using the .net framework;
vb.net is simply a programming language whereby its libraries are the .net framework;
You can create web applications with asp.net using different languages such as C# VB or J#; it doesn't matter which language you use, because all will access the .net framework; what differs is only the syntax depending on the language;
Supposly you wish to create a sql connection;
it would be in C# System.Data.SqlClient.SqlConnection con = new System.Data.SqlClient.SqlConnection();
while in VB it looks like:
Dim con as new System.Data.SqlClient.SqlConnection()
So you see; the syntax differs but the they all use the same namespace of the .net framework; so don't confuse the vb.net as a language with .net framework as a framwork;
as said, asp.net is a part of the .net framework which contains libraries designed for web development.

2007-03-18 02:44:59 · answer #2 · answered by Coosa 2 · 0 0

Asp.net is a technology by which we can develop web applications.
its a part of .net framework

But VB.net is a .net supported language using which we can write business logic(codebehind/classes/componets etc.)

2007-03-18 02:14:04 · answer #3 · answered by selva 1 · 2 0

I'm java, so I can only relate to what I read about .net.

Active Server pages need to be compiled to gain any benefit and usually run server side. If you're using VB, I assume you're using Visual Studio which would join the two worlds. Both asp.net and VB talk to the Common Language Runtime engine, the "linker" (.net libraries), if you will, between script and compiled classes.

2007-03-18 02:14:37 · answer #4 · answered by Anonymous · 0 2

fedest.com, questions and answers