Explain main component of .NET Framework.
Main Components of .NET Framework
1. Common Language Runtime (CLR):- CIR is the basic and Virtual Machine component of the NET Framework. It is the run time environment in the NET Framework that runs the codes and helps in making the development process easier by providing various services such as remoting, thread management, type-safety, memory management, robustness, etc. Basically, it is responsible for managing the execution of NET programs regardless of any .NET programming language. It also helps in the management of code, as code that targets the runtime is known as the Managed Code, and code that doesn't target to runtime is known as code Unmanaged code.
Language - The programming language is at the first level and the most common ones are VB.NET and C#
Compiler - There is a compiler that will be separate for each programming language. So, underlying the VB.NET language, there will be a separate VB.NET compiler. Similarly, , for C#, you will have C# compiler.
2. Common Language Interpreter: This is the final in which would be used to run a .NET program developed in any programming language. So, the subsequent compiler will send the program to the CLI layer to run the .NET application.
Framework Class Library (FCL): It is the collection of reusable object-oriented class libraries and methods, etc. that can be integrated with CLR Also called the Assemblies. It is just like the header files in C/C++ and packages in java. Installing the NET framework basically is the installation of CLR and FCL into the system.
3. Applications
The types of applications that can be built in the .NET framework are classified broadly into the following categories.
Net-Centric Computing Win Forms: This is used for developing Forms-based applications which would run on an end-user machine. Notepad is an example of a client-based application.
ASP.NET: This is used for developing web-based applications, which are run on any browser such as Chrome, Firefox, etc. The Web application is processed on a server, which would have Internet Information Services (IIS) Installed, IIS is a Microsoft component that is used to execute an Asp.NET application. The result of the execution is then sent to the client machines, and the output is shown in the browser.
ADO.NET: This technology is used to develop applications to interact with Databases
|
Comments
Post a Comment