asp.net,C#,html之间有什么联系? [英] What is the connection between asp.net, C#, html and so long?

查看:78
本文介绍了asp.net,C#,html之间有什么联系?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

解释一下asp.net,C#,html,visual studio,.NET framework等之间的联系。我真的很困惑,因为我是一个新手。

Explain me the connection between asp.net, C#,html, visual studio, .NET framework, etc. I get really confused as I am a new beginner.

推荐答案



  • C#是编程语言 [ ^ ]由Microsoft开发用于.NET平台
  • Microsoft。 NET是一个框架,一个构建在Microsoft Windows API之上的开发平台(对于Linux有MONO),您可以使用它来制作您自己的应用程序。所有.NET语言(包括C#)都是用所谓的中间语言编译的,它们依赖于安装在该机器上的.NET框架。因此,如果没有安装.NET框架,则无法运行.NET应用程序。 .NET运行时提供运行托管代码<的框架/ a> [ ^ ],这与以多种形式运行本机代码(常规Windows应用程序)不同。尽管如此,.NET应用程序仍然没有被解释,它们至少在首次运行时被编译为本机代码。
  • html [ ^ ]是一个Web的标准,简而言之,它是一种描述可视内容的人机可读和可写方式,由Web浏览器呈现。
  • ASP.NET是一个基于Microsoft.NET的平台支持Web应用程序开发。最重要的是ASP.NET Web窗体,ASP.NET MVC和ASP.NET Web页面,它们是Web应用程序开发框架。
  • Visual Studio是一个综合开发环境 [ ^ ]可以用来开发多种基于.NET的应用程序 - 但不仅如此。它不是唯一的,仍然被许多人认为是最好的。请注意,您不需要IDE来开发.NET,记事本就足够了 - 但效率不高

  • C# is a programming language[^] developed by Microsoft for .NET platform
  • Microsoft.NET is a framework, a development platform built on top of Microsoft Windows API (for Linux there is MONO), you can use to make your own application. All .NET languages (including C#) are compiled in a so called Intermediate Language, and they rely on .NET framework installed on that machine. Thus you can not run .NET application without .NET framework installed. The .NET runtime gives the framework of running managed code[^], which is different from running native code (regular windows applications) in many form. Still, .NET applications are not interpreted, they are compiled to native code at least at the time of first run.
  • html[^] is one the standards of the web, in short it is a human-machine readable and writable way of describing visual content, which is rendered by web browsers
  • ASP.NET is a platform on top of Microsoft.NET meant to support web application development. On top of it resides ASP.NET Web Forms, ASP.NET MVC and ASP.NET Web Pages which are web application development frameworks.
  • Visual Studio is an Integrated Development Environment[^] which can be used to develop mainly .NET based applications of many kinds - but not only. It is not the only one, still considered the best by many. Please note, that you don't need an IDE to develop for .NET, a notepad is enough - but not quite productive


好的,我会的尝试快速总结:

Visual Studio是一个用于编写C#(和其他语言)项目的工具。它是在您的PC上运行的软件。



C#是一种编程语言,可以告诉计算机该做什么。它被设计为与.NET Framework一起使用,没有它就几乎没用。



.NET Framework是类及其相关方法,属性的集合,等待C#(和其他语言)的事件等等,并提供语言所需的所有支持功能:字符串处理,控件,文件支持等。



HTML是一种用于在浏览器中显示信息(以及从用户获取输入)的语言。它根本没有任何处理能力 - 它甚至不能自己添加两个数字。为此,它依赖于在浏览器中的客户端计算机上运行的Javascript。



ASP.NET现在是一个失败的术语,但主要是指客户/服务器网站代码,在客户端使用HTML / Javascript,在服务器上使用C#或VB。服务器代码生成HTML(可以包含javascript),发送到客户端进行显示。





这是一个非常模糊的概述,它并不是特别准确,但这是一个很大的问题,你真的需要阅读每一部分,以了解它的真实含义是多么模糊和不准确! :笑:
OK, I'll try a quick summary:
Visual studio is a tool you use to code C# (and other language) projects. It's software which runs on your PC.

C# is a programming language that tells a computer what to do. It was designed to work with the .NET Framework, and pretty much is useless without it.

The .NET Framework is a collection of classes and their associated methods, properties, events and so forth that "sit behind" C# (and other languages) and provide all the "support functions" that the language requires to do anything useful: string handling, Controls, File support and so on.

HTML is a language for displaying information (and getting input from the user) in a browser. It doesn't have any processing abilities at all - it can't even add two numbers together on it's own. For that, it relies on Javascript which runs on teh client computer within the browser.

ASP.NET is a lose term these days, but mostly means Client / Server website code, using HTML/Javascript on the client and C# or VB on the Server. The Server code produces HTML (and can include javascript) which is sent to the client for display.


That's a horribly vague overview, and it's not especially accurate, but it's a huge question, and you really need to read up on each part to get a feel for how vague and inaccurate it really is! :laugh:


首先你提到了几个逻辑上连接的东西,但它们的含义完全不同:



.NET - 是一个框架。使用此平台进行开发的库和工具集。它由公共语言运行时,Commont类型系统,中间语言和一组库和类组成。我建议你阅读Jeffree Richter的书通过C#CLR来理解它是什么



Visual Studio是微软为.NET进行软件开发的工具。不仅仅是.NET项目。



ASP.NET是.NET的一部分,如果专注于WEB开发。使用它,您可以构建Web服务和Web站点。作为ASP.NET开发的一部分,您需要了解HTTP,CSS和Java Script。在这里,我建议你阅读Adam's Freement的书籍。它们对于初学者来说真的很酷。
First of all you mentioned several things that are connected logically but their meaning is completely different:

.NET - is a framework. Set of libraries and tools to do development using this platform. It consists from Common Language Runtime, Commont Type System, Intermediate Language and set of libraries and classes. I suggest you to read Jeffree Richter's book "CLR via C#" to get understanding what is it

Visual Studio is a tool from Microsoft to do software development for .NET and not only .NET projects.

ASP.NET is a part of .NET that if focused to WEB development. Using it you can build web services and web sites. As part of ASP.NET development you need to know about HTTP, CSS and Java Script. Here I recommend you to read books of Adam's Freement. They are really cool for the beginner.


这篇关于asp.net,C#,html之间有什么联系?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆