Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between ASP.NET and C#?

Tags:

c#

.net

asp.net

What's the difference between ASP.NET and C#?

Is ASP.NET the original ASP language ported into the .NET framework and C# is an independent language that also uses the .NET framework?

like image 802
john Avatar asked May 06 '11 06:05

john


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.

Are C and .NET the 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.

Is ASP.NET just C#?

C# and C#.NET are essentially synonymous, however VB.NET and VB are different and ASP and ASP.NET are also different.

What is ASP.NET in 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

C# is a CLS programming language designed for the .NET framework. ASP.NET is part of the .NET framework allowing you to write web applications using any CLS compliant language such as C#, VB.NET, F#, ...

What you are referring to original asp language is called Classic ASP and it is not a language. It is a framework for developing web applications using VBScript and JScript languages. It is now considered deprecated technology and Microsoft recommends using ASP.NET for developing new applications.

like image 196
Darin Dimitrov Avatar answered Sep 28 '22 02:09

Darin Dimitrov


This is a bit broad. 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. There isn't really a comparison here.

like image 21
IAmTimCorey Avatar answered Sep 28 '22 03:09

IAmTimCorey