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?
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.
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.
C# and C#.NET are essentially synonymous, however VB.NET and VB are different and ASP and ASP.NET are also different.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With