[英]What's the difference between ASP.NET and C#?
What's the difference between ASP.NET and C#? ASP.NET和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? ASP.NET是移植到.NET框架中的原始ASP语言,C#是一种也使用.NET框架的独立语言吗?
C# is a CLS programming language designed for the .NET framework. C#是为.NET框架设计的CLS编程语言。 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#, ...
ASP.NET是.NET框架的一部分,允许您使用任何符合CLS的语言编写Web应用程序,例如C#,VB.NET,F#,...
What you are referring to original asp language is called Classic ASP and it is not a language. 你所说的原始asp语言叫做Classic ASP,它不是一种语言。 It is a framework for developing web applications using VBScript and JScript languages.
它是使用VBScript和JScript语言开发Web应用程序的框架。 It is now considered deprecated technology and Microsoft recommends using ASP.NET for developing new applications.
它现在被视为已弃用的技术,Microsoft建议使用ASP.NET开发新的应用程序。
This is a bit broad. 这有点宽泛。 Basically, ASP.NET is a web delivery mechanism that runs either C# or VB.NET in the background.
基本上,ASP.NET是一种Web传输机制,它在后台运行C#或VB.NET。 C# is a programming language that runs ASP.NET as well as Winforms, WPF, and Silverlight.
C#是一种运行ASP.NET以及Winforms,WPF和Silverlight的编程语言。 There isn't really a comparison here.
这里没有真正的比较。
ASP.NET is a Framework. ASP.NET是一个框架。
Web Form divided into two pieces: the visual component and the logic. Web Form分为两部分:可视组件和逻辑。 Visual components are developed using web server controls (markup language), logic developed using csharp or vb
可视组件是使用Web服务器控件(标记语言)开发的,使用csharp或vb开发的逻辑
https://msdn.microsoft.com/en-us/library/428509ah.aspx https://msdn.microsoft.com/en-us/library/428509ah.aspx
https://msdn.microsoft.com/en-us/library/zsyt68f1.aspx https://msdn.microsoft.com/en-us/library/zsyt68f1.aspx
Web server controls include traditional form controls such as buttons and text boxes as well as complex controls such as tables. Web服务器控件包括传统的表单控件(如按钮和文本框)以及复杂的控件(如表)。 They also include controls that provide commonly used form functionality such as displaying data in a grid, choosing dates, displaying menus, and so on
它们还包括提供常用表单功能的控件,例如在网格中显示数据,选择日期,显示菜单等
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.