What is the .NET framework?

The .NET framework supports an object-oriented approach that is used for building applications on windows. It supports various languages like C#, VB, Cobol, Perl, .NET, etc. It has a wide variety of tools and functionalities like class, library and APIs that are used to build, deploy and run web services and different applications. For a … Read more

What is a Garbage Collector?

Garbage collection is a .Net feature to free the unused code objects in the memory. The memory heap is divided into three generations. Generation 0, Generation 1 and Generation 2. Generation 0 – This is used to store short-lived objects. Garbage Collection happens frequently in this Generation. Generation 1 – This is for medium-lived objects. … Read more

What is meant by Globalization and Localization?

Internationalization is the process of designing applications that support multiple languages. This is divided into Localization and Globalization. Globalization is nothing but developing applications to support different languages. Existing applications can also be converted to support multiple cultures. Whereas Localization means changing the already globalized app to cater to a specific culture or language Microsoft.Extensions.Localization … Read more

What is GAC?

GAC stands for Global Assembly Cache. Whenever CLR gets installed on the machine, GAC comes as a part of it. GAC specifically stores those assemblies which will be shared by many applications. A Developer tool called Gacutil.exe is used to add any file to GAC. In the context of .NET interview questions, GAC stands for … Read more

Explain CAS (Code Access Security).

.Net provides a security model that prevents unauthorized access to resources. CAS is a part of that security model. CAS is present in the CLR. It enables the users to set permissions at a granular level for the code. CLR then executes the code depending on the available permissions. CAS can be applied only to … Read more