Collation: C + +, vc++.net, VS. Introduction to NET and. NET Framework

Source: Internet
Author: User
Microsoft is right. NET is defined as

The. NET Framework is a new computing platform this simplifies application development in the highly distributed NT of the

The Internet.

It means that. NET is a new computing platform that simplifies software development in a highly distributed interconnection environment (oh, not like a sentence, ^_*). It says here that the distributed mutual

Networking environment, this is very important, that the future business activities will be conducted online, so we should also follow the trend of the Times
, take this into account when doing the procedure. Said

It's white. NET can improve the speed of our application development.


First of all speak C + + language, C + + language was the 1980s by Bjarne Stroustrup in Bell Laboratory developed. The language was issued as a C language improvement, and the C language was also produced in Bell Labs. The object-oriented nature of C + + makes it much more powerful than the C language. In 1997, a committee of the American National Standard Rest (ANSI), the International Organization for Standardization (ISO), used a version of C + + as the standard, which is often said to be standard C + +.

Visual Studio.NET is a development platform developed by Microsoft for Windows application development. In the Visual Studio.NET environment, you can use vb.net, vc++.net, and C #. NET and J #. NET and other development languages. where vb.net, C #, and Visual J #. NET is 3 kinds of Microsoft supported the main development language for the. NET Framework, VC + +. NET is the Microsoft in standard C + + foundation, expands it to make it more suitable for the development of the Windows program. Visual Studio.NET revolutionized the development of Windows applications because:

(1) Microsoft offers 4 kinds of Visual Studio.NET languages; c++.net, C#.net, Visual J #. NET and vb.net. Regardless of the Visual Studio.NET development language you choose, the integrated development environment used to write applications is the same. In fact, Visual Studio.NET allows users to create part of an application in one language and then create other parts of the application in another language.

(2) Each Visual Studio.NET language provides similar functionality, so determining which Visual Studio.NET language is used does not depend on the capabilities of a particular language, but on the proficiency and preferences of the developer.

(3) all. NET language is similar in performance, so Xu Ze what language is irrelevant.

Although using the Visual Studio.NET IDE makes it easy to create most. NET applications, you can also use the Visual Studio.NET IDE without using a text editor to create your application. The application is then compiled by invoking the appropriate compiler from the Command Prompt window. In fact, you can create an application without even having Visual Studio.NET installed on your computer. The reason is simple, there is another internal software component called the. NET framework responsible for compiling and executing the application. The only software component that you need to develop and test your application is the. NET FrameWork.

The relationship between the. NET Framework and Visual Studio.NET

The core of the Visual Studio.NET program development Environment is a software component called the. NET framework. Want to develop and run. NET application, you must install the. NET Framework components on your computer. The. NET Framework contains all the compilers needed to convert a. NET application to a running file. Program developers can even create applications in a text editor without using the Visual Studio.NET IDE. However, the Visual Studio.NET IDE provides a robust development environment that can be used to develop, test, and deploy the use of visual c++.net, C#.net, and Visual J #. NET or vb.net applications written by. Although you can write applications without using the Visual Studio.NET IDE, using the Visual Studio.NET IDE is more efficient. The following illustration shows the relationship between the. NET framework and Visual Studio.NET


Relationship between the. NET framework and Visual Studio.NET

You can see from the diagram that the Visual Studio.NET IDE relies on the services provided by the. NET Framework. These services include language compilers developed by Microsoft or language compilers provided by third parties. These language compilers are part of the. NET framework itself and are not part of the Visual Studio.NET IDE. Visual Studio.NET provides a number of tools to invoke a compiler for an installation.

. NET Framwwork

The. NET Framework provides a common running environment for all. NET development languages, rather than providing each language with a different operating environment. This common runtime environment is called the Common Language Runtime (CLR), the common language runtime. The CLR provides a common set of services for all languages that are adapted to the CLR, in addition to the execution of code at run time. Some of the key services provided by the CLR are listed below:

(1) The Common type system (Common type System,cts) it defines all. NET language and the format of the standard data type. For example, the CTS defines a 32-bit size for an integer and also specifies an internal format for shaping values.

(2) Common Language Specification (Common Language specification,cls) It defines the rules for interoperability between languages. Because the CLS defines rules, any one. NET development language creates classes that can be used by other. NET languages

(3)JIT compiler (Just-in-time compiler) when a. NET application compiles for the first time, it is compiled into a type that can be owned by all. NET language shared by the middle language. When the application executes, the JIT compiler converts the intermediate language into an executable file that can be executed on the target machine.

(4) code management The CLR is responsible for allocating and freeing memory when creating and destroying objects.

(5) The garbage collector (garbage COLLECTOR,GC) frees the memory occupied by unwanted objects.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.