Recently studied. NET understanding is more laborious, the video looks foggy. Don't be afraid of not knowing, afraid don't know. By looking at the information, to gather some help to understand. NET Framework, here to share with you. There is a general understanding, we will slowly grasp in the future.
. NET Framework (. netframework) is developed by Microsoft, a software development platform dedicated to agile software development, rapid application development, platform independence, and network transparency. It is a multilingual component development and execution environment that provides a unified programming environment across languages. NET Framework is designed to make it easier for developers to build Web applications and Web services so that Web services can be used to communicate between applications on the Internet. From a hierarchical perspective. The NET Framework consists of two main parts: the Common language Runtime (CLR) and the. NET Framework class library (BCL, the blue part).
First, the CLR
CLR is a . NET The run-time environment of the framework. the CLR provides a common set of services for languages that are compatible with them, such as exception handling, security, debugging, and so on.
clr controls the interaction of the code with the operating system, by the clr The code executed by clr clr clr "collaboration". clr .net framework api function, call the operating system directly api function.
During compilation, clr msil (Microsoft intermediate language). msil clr cpu msil is not CPU dependent, so clr msil
during the management of the code, CLR It also performs various tasks such as memory management, code security checks, threading, checksum compilation code. For example, during application run time,theCLR allocates memory, manages threads and processes, and enforces security policies.
The CLR defines a common type library (CTS), which is a standard type library that is used by all languages that support the CLR. the CTS lists the types supported by the CLR, with classes, interfaces, numeric types, and delegates. Because data types are treated the same in all languages, we can pass variables from one class created in a CLR-compatible language to another, regardless of which programming language is used to define variables.
Two. NET Framework class Library
. The NET Framework class Library includes multiple reusable, object-oriented, extensible classes. It is integrated with the CLR and is common to all programming languages in Visual Studio.NET.
. the classes in the NET Framework are organized hierarchically,thesystem namespace is at the top of the hierarchy, and all other classes are included. It mainly consists of converting data types, processing parameters, invoking local and remote programs, and managing the application environment.
Three. The basic features of the NET Framework
. The NET Framework has the basic functionality of cross-language use and provides an integrated debugger that can debug a program written in multiple languages. Not only can you debug while the program is running, but you can also perform remote debugging. Through code access security and role-based security,the. NET Framework introduces new security mechanisms for applications.
We've learned several programming languages now, and we're able to make a small system that's just shallow stuff. We write the code in the end is how to operate in the system, these deep things will need to make unremitting efforts in the future, the book Mountain has the road, the world is boundless.