Architecture Of Microsoft .NET Framework



This article presents useful details which describes the architecture of Microsoft .NET framework. Presented here is a comprehensive overview highlighting important details regarding of the architecture of Microsoft Dot Net framework. Read on the details presented in the overview as they will help you gain comprehensive idea about the Microsoft .NET framework architecture.


The architecture of Microsoft .NET framework is made up of following elements or in other words, the below defined systems hold important place in forming the overall architecture of Microsoft Dot Net framework. We shall take a brief look at each of these systems:


Common Language Infrastructure (CLI): It provides language-neutral platform for the development and execution of application and also consists of inbuilt functions meant for interoperability, exception handling, security and garbage collection.


Assemblies: The Common Language Infrastructure is in built in the Microsoft dot Net assemblies. As per specifications, the assemblies are present in the Portable Executable (PE) format. It is important to note that it is a common format on the Windows platform for all dll and exe files.  There are one or more files in the assembly and it is required that one of the files need to have the manifest, which has the metadata for the assembly. The complete name of an assembly is made up of its simple text name, version number, culture, and public key token.


Metadata: The entire Common Language Infrastructure is self-explanatory through .NET metadata. It checks the metadata in order to make sure that the right method is called. Generally, language compilers are used for the generation of Meta data however programmers can also develop their own metadata y making use of through custom attributes. Metadata consists details regarding the assembly, and can sometimes also used for implementing the reflective programming capabilities of .NET Framework.


Security: One of the important systems which form the Microsoft .NET framework architecture is the security feature. There is a security mechanism of its own along with having two common features such as Code Access Security (CAS), and validation and verification.


Class Library: The class library feature of architecture of Microsoft .NET framework consists of a set of standard class libraries which is arranged in a hierarchy of namespaces. The use of these class libraries is when there is a need to implement a huge collection of common functions, like such as file reading and writing, graphic rendering, database interaction, and XML document manipulation, among others.


Memory Management: This system forming the architecture of Microsoft .NET framework is done by the CLR and it sets the programmer free from the responsibility of memory management.