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?
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?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Abhishek YadavRank #217 · 11.3K reputationPosted Oct 19, 2022, 12:17 PM EDT
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.
Rajanikant HawaldarRank #110 · 20.4K reputationPosted Oct 20, 2022, 6:45 AM EDT
ASP.NET is an open-source framework for web application development to generate dynamic content over web pages. This was primarily written in .NET languages. This framework is also used to develop web services. ASP.NET based web applications can be developed by using several existing tools such as Microsoft Visual Studio, Microsoft Expression Web, Macromedia HomeSite that can be used based on the requirement.
C# is an object-oriented, functional, imperative, generic and component-based programming language. The C# programming language was primarily developed based on C++, Java Pascal, and few other object-oriented programming languages.
Brahma Prakash ShuklaRank #633 · 3.8K reputationPosted Oct 19, 2022, 2:46 PM EDT
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