简体   繁体   English

c#和asp.net之间的关系是什么?

[英]What's the relationship between c# and asp.net?

两者是一样的还是?

No. 没有。

C# is a language . C#是一种语言

ASP.Net is a Framework for building Web Applications. ASP.Net是一个用于构建Web应用程序的框架 Which is a set of classes/methods than can speed up development and you would use C# to access these classes and call those methods. 哪一类/方法比加速开发更快,您可以使用C#访问这些类并调用这些方法。

You could use ASP.Net with C# or Visual Basic. 您可以将ASP.Net与C#或Visual Basic一起使用。 You can also use C# without ASP.Net. 您也可以在没有ASP.Net的情况下使用C#。

ASP.NET is a framework (with libraries and a bunch of controls) related to web applications and web sites. ASP.NET是一个与Web应用程序和Web站点相关的框架(包含库和一组控件)。 C# is one of the languages to use within the ASP.NET framework. C#是ASP.NET框架中使用的语言之一。

Similarly, you can use different languages, like C# or VB.NET for WinForms development. 同样,您可以使用不同的语言,如C#或VB.NET进行WinForms开发。 Same idea for ASP.NET. ASP.NET的相同想法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ASP.NET和C#有什么区别? - What's the difference between ASP.NET and C#? 我的JavaScript有什么问题? (C#/ ASP.NET) - What's wrong with my JavaScript? (C#/ASP.NET) 查看 model in ASP.NET MVC / C# 没有两个表之间的关系(模型) - View model in ASP.NET MVC / C# without relationship between two tables(model) 在ASP.NET C#应用程序的GridView中一对一关系 - Relationship one to one in GridView in asp.net C# application c#和asp.net/c#之间的区别 - difference between c# and asp.net/c# C# 10和.NET Core 6是什么关系 - What is the relationship between C# 10 and .NET Core 6 这两个语句(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#? 在C#和Java中,Object []和String []之间是什么关系? - In C# and also Java, what's the relationship between Object[] and String[]?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM