The .NET framework is a platform independent program used to develop Windows, Wed, and Enterprises applications with available tools and technologies.
- Common Language Runtime or CLR
- .Net Framework Class Library (FCL)
- Common Language Specification
- Common Type System
- Metadata and Assemblies
- ASP.NET and ASP.NET AJAX
- Windows Workflow Foundation (WF)
Common Language Runtime or CLR: .Net Framework provides runtime environment called Common Language Runtime (CLR).It provides an environment to run all the .Net Programs. The code which runs under the CLR is called as Managed Code. Programmers need not to worry on managing the memory if the programs are running under the CLR as it provides memory management and thread management.
Programmatically, when our program needs memory, CLR allocates the memory for scope and de-allocates the memory if the scope is completed.
.Net Framework Class Library (FCL): This is also called as Base Class Library and it is common for all types of applications i.e. the way you access the Library Classes and Methods in VB.NET will be the same in C#, and it is common for all other languages in .NET.
The following are different types of applications that can make use of .net class library.
- Windows Application.
- Console Application
- Web Application.
- XML Web Services.
- Windows Services.
In short, developers just need to import the BCL in their language code and use its predefined methods and properties to implement common and complex functions like reading and writing to file, graphic rendering, database interaction, and XML document manipulation.