We will discuss some main Aspects of .NET Framework:
.NET framework = Framework class Library + Common Language Run Time 1. Common Language Infrastructure:
When you select a language, CLI picks up the right compiler for the right language.
In this way one can code for all the supported languages of .NET.
.NET supports: C#, F#, JavaScript, VB , c, cpp, J# and many others . One can download and install MSI’s for languages such as python. This will integrate python into .NET or any other languages into.NET
2. What is this asp? winforms?
These are simply frameworks provided by .NET to develop applications. The Base remains common, its just the applications that defer in the architecture. Say you wanted to build a website, then ASP framework is used.
ADO is the data layer and Winforms is for building windows desktop applications. We will talk about LINQ, Entity framework in coming sessions.
3. Visual Studio traits: 3.1 Build takes time with such huge library in .NET framework. To avoid this, .NET framework is coupled with a cache feature. When executed for the first time, all the libraries are built and executed. the system maintains an image in the memory. So for the subsequent build the image is overridden with the changes. This is a added advantage for performance.
Clean and build erases the build image. New image is constructed in such cases. For a faster build incremental build can be used.
BUILD * = Build is a word for compilation of all the classes
3.2. What exactly is the role of CLR in visual studio?
It manages the execution of .NET programs, just in time compilation converts compiled code into machine instructions which the computer’s CPU then executes.
Sources: Images taken from wikipedia.