ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Dot Net  >>  Dot Net General
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions
 Dot Net General interview questions  Dot Net General Interview Questions
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions
Question
What is Global Assembly Cache (GAC) and what is the Purpose
of it?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is Global Assembly Cache (GAC) and what is the Purpose of it?
Answer
# 1
Each computer where the common language runtime is installed
has a machine-wide code cache called the global assembly
cache. The global assembly cache stores assemblies
specifically designated to be shared by several applications
on the computer.  You should share assemblies by installing
them into the global assembly cache only when you need to.
Steps
- Create a strong name using sn.exe tool
eg: sn -k keyPair.snk
- with in AssemblyInfo.cs add the generated file name 
eg: [assembly: AssemblyKeyFile("abc.snk")]
- recompile project, then install it to GAC by either
drag & drop it to assembly folder (C:\WINDOWS\assembly OR
C:\WINNT\assembly) (shfusion.dll tool)
or
gacutil -i abc.dll 
 
Is This Answer Correct ?    1 Yes 0 No
Guest
 

 
 
 
Other Dot Net General Interview Questions
 
  Question Asked @ Answers
 
What is Active Directory? What is the namespace used to access the Microsoft Active Directories?  3
How is development of a Windows service different from a Windows Forms application?  1
what is AGILE SCRUM methodoly....?  1
Which method do you use to redirect the user to another page without performing a round trip to the client?  2
What is Global Assembly Cache (GAC) and what is the purpose of it? Ksb2
why .net does not support multiple inheritance? Microsoft2
What is portable executable (PE)?  1
What is the use of trace utility?  1
What are server controls? Avanade1
What is Active Directory? What is the namespace used to access the Microsoft Active Directories? What are ADSI Directories? TCS1
can any one tel me hw to connect database connectivity of dot NET and back end as MS access?  1
What is serialization in .NET? What are the ways to control serialization?  1
What security mechanisms to enforce for Authenticating and authorizing the users?  1
What are the providers available with VS.NET ? TCS2
What is a resource? Provide an example from your recent project. Wipro1
What is .NET Framework?  2
What is different between Web User Control and Web Custom Control?  1
What is UDDI and how to register a web service ? TCS2
How do you start, pause, continue or stop a Windows service off the command line?  1
What are the different types of assemblies?  2
 
For more Dot Net General Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com