Sunday, October 3, 2021

Dot Net Framework |What is .NET framework with example?| dot net interview questions for experienced| net framework interview questions for 10 years experience|What is NET Framework in C# interview questions and answers?

 What is .NET framework with example?| dot net interview questions for experienced| net framework interview questions for 10 years experience

dotnetshala
Dot Net Framework |What is .NET framework with example?| dot net interview questions for experienced| net framework interview questions for 10 years experience | What is NET Framework in C# interview questions and answers?


What is .NET framework? :

First of all dot net is technologies which is developed by Microsoft in the year of 2000. Dot net technology is provide code execution environment where we can develop different types application like 

1. Console based application

2. it could be web based application

3. it could be windows based application

4. it could be services which is known as web service

5. Also we can develop WCF service ..etc.

Dot net framework is mainly written using of C# (C Sharp),F# (F Sharp),VB (Visual Basic) language.

Whenever we are going to write the code in dot net framework by using of C#,F# or VB language first comes CLR (Common Language Time) which convert the code into the Intermediate Language and other task of framework done by the CLR. than JIT (Just in time compiler) comes into the picture which is convert intermediate language into machine language code. JIT is part of Common Language run time compiler (CLR). so that we can say Dot net Framework is managed execution environment. finely when code is executed we have got either .exe or .dll file.   

   

CLR: CLR Stands Common Language Time which provide Memory management. If we are talking about memory management in other language it's a too difficult which was done by developer forcefully like memory cleaning when an object allocate into the memory and his work has finished than forcefully we have need to clear memory or can say deallocate memory. so in dot net framework all memory management related task done by the Common Language Run Time  like memory allocation and deallocation work. As I say in many programming language developers are responsible for allocating and releasing memory and for handling object lifetime. And as I know Common Language Run Time is also responsible to convert code into Intermediate language which is also known as IL .

  IL (Intermediate Language)

            |

     1. Assembly : (Assembly contains collection of data that describes how the elements in the assembly relate to each other. Assembly having maintain version Assembly version, File version, unique id which is in the form of GUID)

     2.  Manifest: (Manifest contains all the assembly versions requirement and security identity related information. the Assembly manifest can be stored in the form of Portable executable file or dynamic link. we can say that manifest just like a Text file which contains all the version and security related information which helps to resolve reference to resources and classes. )

    3. Metadata: (Metadata is define in binary format, which is describing program information stored in portable executable file or dynamic link library. metadata basically provide details about assembly data types like name, visibility, base class and interface)

    4. IL and Resource: (Intermediate Language )


1 comment:

  1. Grate content for interview or knowledge purpose. thank u sir

    ReplyDelete

If you have any query kindly let me know.

Blazor drawback| drawback of blazor| Disadvantage of blazor in c#

  Blazor drawback| drawback of blazor| Disadvantage of blazor in c# While Blazor offers many advantages, it also has a few drawbacks to cons...