官术网_书友最值得收藏!

Architecture of .NET

Even though it is a decade old, the .NET framework is still well-built and makes sure to make it tiered, moduler, and hierarchical. Each tier provides specific functionalities to the user—some in terms of security and some in terms of language capabilities. The tiers produce a layer of abstraction to the end users and hide most of the complexities of the native operating system as much as possible. The .NET framework is partitioned into modules, with each of them having their own distinct responsibilities. The higher tiers request specific capabilities from the lower tiers and hence it is hierarchical.

Let's look at a diagram of the .NET architecture:

The preceding diagram depicts how the .NET framework architecture is laid out. On its lowest level, it is the operating system that interacts with the kernel APIs that are present in the operating system. The Common Language Infrastructure connects with the CLR, which provides services that monitor each code execution and managed memory, handles exceptions, and ensures that the application behaves as intended. Another important goal of the infrastructure is language inter-operability. The common language runtime is yet again abstracted with the .NET class libraries. This layer holds the binaries that the language is built on, and all of the compilers built on top of the libraries provide the same compiled code so that the CLR can understand the code and interact easily with one another.

Before going further, let's quickly look at some of the key aspects on which languages are built on the .NET framework.

主站蜘蛛池模板: 阜阳市| 西青区| 饶平县| 乌鲁木齐县| 乐昌市| 寿阳县| 东平县| 东光县| 柳州市| 舟山市| 宜君县| 突泉县| 湾仔区| 马公市| 锡林郭勒盟| 海阳市| 丹棱县| 醴陵市| 宝山区| 密山市| 基隆市| 嘉荫县| 尼玛县| 麻城市| 定结县| 贵溪市| 朝阳县| 泰安市| 紫阳县| 大同市| 苏州市| 万荣县| 云霄县| 甘南县| 阜城县| 龙胜| 来安县| 伊吾县| 南江县| 二连浩特市| 潜山县|