What is .NET Framework
The Microsoft .NET Framework is a platform that provides infrastructures for creating, deploying, and running Windows applications, Mobile applications, Web applications, and Web services commonly on Windows based operating systems.
It consists of two major components:
- Common Language Runtime (CLR)
- .NET Framework Class (FCL)
The main design features are
- Language Interoperability
Language compilers that target the .NET framework emit an intermediate code name Common Intermediate Language (CIL), which in turn is compiled at run time by the Common Language Runtime (CLR). With this features programs written in one language are accessible to other languages, and programmers can focus on creating applications in their preferred language or languages.
- Side by side execution
The .NET Framework helps resolve version conflicts by allowing multiple versions of the common language runtime to exist on the same computer. This means that multiple versions of applications can also coexist, and that an application can run on the version of the .NET Framework with which it was built.
- Common Language Runtime Engine
The common language runtime, this allows programs developed in .NET to exhibit common behaviours in memory usage, exception handling and security.
- A common type system
In traditional programming languages, basic types are defined by the compiler, which complicates cross-language interoperability. In the .NET Framework, basic types are defined by the .NET Framework type system and are common to all languages that target the .NET Framework.
- Base Class Library
.NET class library of code for most common functions available for programmers to avoid repetitive rewriting of code.