Main Component of .Net Framework-: When a programme are written in .net framework execute in software environment that manage the programme run time requirements. This run time environment which is also a part of .net framework .
Component of .Net framework are ..
Base class library -: The base class library is a standard library available to all languages using the .Net Framework. In order to make the programmer job easier .Net include the base class library in order to encapsulation a large number of common function such as file reading and writing.
in other words we can say that the This is the collection of reusable, object-oriented class libraries and methods that can be integrated .It is just like the header files in C/C++ and packages in the java. Installing .NET framework.
Namespace -: It is not the official part of base class library by Microsoft But all namespace are part of the standard library that are provide with the .Net framework as like System. Data;
Common Language Infrastructure(CLI) -: The purpose of CLI is to provide a language independent platform for application development and execution, Including function for exception handling garbage collection security and interchangeability, Microsoft Implementation of the CLI is called the Common language Runtime .
The common Language Runtime is the virtual machine component of Microsoft .Net. It is Microsoft implementation of the common language infrastructure standard which define an execution environment for programme code
Common Language Runtime has four parts as like
- Common type system
- Common Language Specification
- Metadata
- Virtual Execution System
Common Type System(CTS)-: It is standard that specifies how type definition and specific values of types are represented in computer memory. It is Intend to allow programme written indifferent programming language to easily share information.
Common Language Specification -: A set of base rules which any language targeting the CLI should conform in order to inter operate with other CLS compliant language.
Metadata -: It describe all classes and class members that are defined in the assembly and the classes and class member that current assembly will call from another assembly. The metadata for a method contain the complete description of the method including the class,the return type and all of the method parameters.
Virtual Execution System (VES)-: It provide an environment for executing managed code. it provide direct support for a set of built in data type define a hypothetical machine with an associated machine model and state a set of control flow construct ad an exception handling model. To a large extent the purpose of the VES is to provide the supported required to execute the common Intermediate language instruction of set.