Home > Backend Development > C#.Net Tutorial > Introduction to .NET Framework in C#

Introduction to .NET Framework in C#

无忌哥哥
Release: 2018-07-18 10:16:29
Original
2007 people have browsed it

Beginners to .NET will definitely have a series of questions, such as (the following are my own questions):

1) What is the .NET framework and what does it contain?

 2) What is an assembly and how does it run in the CLR (Common Language Runtime)?

 3) C# and VB.NET both belong to the .NET platform. What are the fundamental connections and differences between them? Why can their assemblies call each other (if a new .NET-oriented language is created) , what to follow)?

If you want to understand the above issues, you need to understand the concepts of CIL (Common Intermediate Language), CLR (Common Language Runtime), CTS (Common Type System), CLS (Common Language Specification), etc., as follows It’s a simple summary I made after reading some other people’s articles.

First of all, let’s understand the concepts of .NET platform and .NET Framework (Framework) in a popular way

“Platform” (here refers to the software technology platform, and the following refers to this) means that it can run independently It exists independently and provides the environment that the upper-layer systems and applications it supports rely on for their operation. To extract it, the platform is an environment. As long as applications comply with the platform specifications, they can be run on it.

My popular understanding is that the .NET platform is an intermediary between .NET applications and the operating system. First, it provides an environment for .NET applications to run. Secondly, it plays a role between .NET applications and the operating system. The function of "decoupling" makes the upper-layer applications of the platform independent of the operating system (machine instruction set). As for how to decouple, it depends on its compilation process, which will be explained below.

A framework is like a semi-finished product of a certain application. It is a set of reusable components developed by predecessors based on their experience. It is available for you to choose and add to it to complete your own system. The idea is somewhat similar to design patterns. Frameworks are code reuse, and design patterns are design reuse. The framework is like a set of specifications provided, which regulates the development and deployment of application systems. The well-known J2EE framework defines 13 specifications.

Roughly speaking, a .NET application is an application running on the .NET Framework. Alternatively, a .NET application is an application written using the .NET Framework class library and running on the Common Language Runtime (CLR).

The above is the detailed content of Introduction to .NET Framework in C#. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template