简体   繁体   English

ASP.NET和C#有什么区别?

[英]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.

相关问题 c#和asp.net之间的关系是什么? - What's the relationship between c# and asp.net? c#和asp.net/c#之间的区别 - difference between c# and asp.net/c# 这两个语句(asp.net/c#/entity框架)有什么区别 - What is the difference between these two statements (asp.net/c#/entity framework) 我有一个ASP.NET C#项目,&lt;%= myfunction();有什么区别? %&gt;和&lt;%#myfunction()%&gt;? - I have a asp.net c# project, what is the difference between <%=myfunction(); %> & <%# myfunction() %>? 在使用C#的ASP.NET网页中,OAuthWebSecurity的“ RequestAuthentication()”和“ VerifyAuthentication()”方法有何区别? - What's the Difference Between OAuthWebSecurity's “RequestAuthentication()” and “VerifyAuthentication()” methods in ASP.NET-Webpages with C#? ASP.NET - ChildActionOnly 和 NonAction 属性之间有什么区别? - ASP.NET - What's the difference between ChildActionOnly and NonAction attributes? ASP.NET中的SetFocus()和Focus()有什么区别? - What's the difference between SetFocus() and Focus() in ASP.NET? Asp.Net Core中的IRequestCultureFeature和CurrentCulture有什么区别? - What's the difference between IRequestCultureFeature and CurrentCulture in Asp.Net Core? ASP.NET MVC中&lt;%#和&lt;%=有什么区别? - What is the difference between <%# and <%= in ASP.NET MVC? 我的JavaScript有什么问题? (C#/ ASP.NET) - What's wrong with my JavaScript? (C#/ASP.NET)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM