Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between ASP.Net, C#.Net and VB.Net? [closed]

I just need clarification about something.

I am currently job hunting - I put my CV on Monster on Monday and have had about 8 agencies phone up about jobs they have available. One of them said that he notices VB.Net is on my CV but asked if I know ASP.Net. I replied that ASP.Net encompasses both VB.Net and C#.Net - as far as I know these are the two main sections of ASP.Net. Is this right? Was he talking nonsense or have I misunderstood the whole concept of .net for the last several years?

I think (or hope) I am right and he is wrong - I mean he is simply an agent working for a recruitment agency in the IT industry, so he is not necessarily an expert in the field and is simply trying to find me a job.

If both are wrong then please feel free to put me right.

Regards,

Richard

like image 604
ClarkeyBoy Avatar asked Oct 29 '10 11:10

ClarkeyBoy


People also ask

What is different between ASP.NET and C#?

Basically, ASP.NET is a web delivery mechanism that runs either C# or VB.NET in the background. C# is a programming language that runs ASP.NET as well as Winforms, WPF, and Silverlight.

Is .NET and C same?

C# is a programming language, . NET is a blanket term that tends to cover both the . NET Framework (an application framework library) and the Common Language Runtime which is the runtime in which . NET assemblies are run.

Which is better .NET or C#?

Even though there is less prominence of VB.NET community, but still we can say VB.NET is better than C#. 1. VB.NET uses implicit casting and makes it easier to code whereas in C# there are lot of casting and conversions needs to be done for the same lines of code.

What is ASP.NET with C#?

ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites. It allows you to use a full featured programming language such as C# or VB.NET to build web applications easily.


2 Answers

VB.Net and C# are programming languages.

ASP.Net is a Web Development SDK/Framework.

You write code in a programming language and you use a SDK to speed up development.

.Net is a framework which you use when programming in vb.net, C# or any other language which can be compiled into msil.

like image 94
jgauffin Avatar answered Sep 22 '22 03:09

jgauffin


I replied that ASP.Net encompasses both VB.Net and C#.Net - as far as I know these are the two main sections of ASP.Net. Is this right? Was he talking nonsense or have I misunderstood the whole concept of .net for the last several years?

You talked nonsense. The interview would have been over there with me.

VB.Net and C#.Net are LANGUAGES, like C, Smalltalk etc.

ASP.NET is a framework for making web applications. It is part of the ,NET framework, but if you read the langauge specifications for VB.NET or C# then you find not a single reference to ASP.NET in them. Or any other part of the framework except low level things (IDisposable, IEnumerable used for using and foeach, for example).

There are other langauges you can use - ANY langauge that is compilable to .NET bytecode can use ASP.NET (or any other framework, like WInForms, WPF, the nice System.Data namespace for accessing databases).

To compare your answer with cars, you just said the main element of a car is the brand of the fuel station. No relation at all.

like image 25
TomTom Avatar answered Sep 22 '22 03:09

TomTom