Define gac-how to add assembly from gac, DOT NET Programming

GAC (Global Assembly Cache) is used where shared .NET assembly resides.Global Assembly Cache is used in the following situations:-

1) When the application has to be shared among several application.

2) When  the assembly has some special security requirements like only administrators can remove the assembly. If the assembly is private then the simple delete of assembly the assembly file will remove the assembly.


How to add and remove an assembly from GAC?

There are two ways to install .NET assembly in GAC:-

(A) Using Microsoft Installer Package. You can get download of installer from http://www.microsoft.com.

(B) Using Gacutil. Goto "Visual Studio Command Prompt" and type "gacutil -i (assembly_name)", where (assembly_name) is the DLL name of the project.

Posted Date: 9/18/2012 6:53:14 AM | Location : United States







Related Discussions:- Define gac-how to add assembly from gac, Assignment Help, Ask Question on Define gac-how to add assembly from gac, Get Answer, Expert's Help, Define gac-how to add assembly from gac Discussions

Write discussion on Define gac-how to add assembly from gac
Your posts are moderated
Related Questions
Describe the roles of CLR in .NET Framework. CLR gives an environment to execute .NET applications on target machines. CLR is also a common runtime environment for all .NET cod

What is CAR (Causal Analysis and Resolution)? The basic purpose of the CAR is to analyze all the problems, defects, and good practices/positive triggers in projects, perform a

Investment Equation - C# Program I didn't know the exact code for computing Investment Equation. Can anybody suggest me the correct way for my problem?

What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why.   In a interface class, all methods are abstract without execut

I want a C# Windows App Project Description: Windows App written in C# that can: Check for Internet connection Load dynamic web site If Internet connection drops rec

What is shadowing? When 2 elements in a program have similar name, one of them can hide and shadow the one. Therefore in such cases the element which shadowed the main element

The Performance of the viewstate varies depending on the type of server control to which it is applied. The Text Box, Label,   RadioButton,CheckBox, and HyperLink are server contro

What is the difference between dynamic and var data types? The difference among the var and dynamic data types is that the var data type is strongly type checked at the compile

What is nested Classes? You can access an array using the INDEX value of that array, but how many times you know the real value of the index. The Hashtable provides a way of ac

What are different types of caching using in ASP.NET? You can use 2 types of output caching to cache information which is to be transmitted to and displayed in a Web browser: