What is GAC (global assembly cache)? - C#.NET

What is GAC?

- GAC stands for Global Assembly Cache.

- It is an area of memory reserved to store the assemblies of all .NET applications that are running on a certain machine.

- It shares assemblies among multiple .NET applications.

- The assemblies must have a strong name and must be publicly shared to be installed in the GAC.

Following are the reasons why it is important to install an assembly into the global assembly cache:

1. Shared location.
2. File security.
3. Side-by-side versioning.
4. Additional search location.

- It stores assemblies specifically designated to be shared by several applications on the computer.

- An assembly must have a strong name to be installed in the GAC.
Private class-level variables - C#.NET
C#.NET - Can you inherit private class-level variables? - they can be inherited but they are not accessible in the derived class...
System.Object - C#.NET
C#.NET - System.Object - System.Object: The object class is the ultimate base class of all classes in the .NET Framework...
Significance of the keyword virtual - C#.NET
C#.NET - What is the significance of the keyword virtual in the method definition? - The method with virtual keyword signifies that it can be over-ridden...
Post your comment