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   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Dot Net  >>  Dot Net Framework
 
 


 

 
 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 :: Pvr
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 ?    5 Yes 0 No
Guest
 
  Re: What is Global Assembly Cache (GAC) and what is the purpose of it?
Answer
# 2
GAC is a repository of all the .net shared assembly.The 
assemblies stored in GAC can be shared by all the .NET 
application.
 
Is This Answer Correct ?    4 Yes 0 No
Zeenat
 
 
 

 
 
 
Other Dot Net Framework Interview Questions
 
  Question Asked @ Answers
 
What is strong name?  4
What does assert() method do?  1
If Controller is not there in MVC Pattern what happens?  1
will this code works fine? or will it gives error? Object obj=5; int i=6; i=i+obj; Kanbay7
What is serialization ? MMTS4
If background completes its processing will it wait for foreground threads? Kanbay1
Httpcontext objects? HP2
give the feature of .net2.0 over .net1.1  5
How to identify the Code which Complies corresponding Compiler in .NET? Means Suppose, i am taking One project A.. in which code is implemented using C# langugge. And Another Project B..in Which Code is implemented using VB.NET. Suppose I am creating Project C. i am adding Reference of Project A and B to Project C. So, in Project C, how to identify Project A is Complied through CSCompliler? And Project B is Compiled VBCompiler at Runtime?  1
Can you handle all button click events at once in a form? Give coding. Kanbay1
What is side by side Execution ? MMTS3
What is Global Assembly Cache (GAC) and what is the purpose of it?  2
Tell me about the internal working of Garbage collector? Honeywell2
About DTS package ? Accenture1
im software developer (.net). i goth1b (usa )appointment 30th of this month . chennai people asking responsbilities .can anyone wht responsbilities i need say . plz help me  2
How does assembly versioning work?  1
What is shared and private assembly ? Accenture2
if u add an import stmt to an application u can do the same by adding reference to the apllication then what is the diff bet these two ?  1
What are the contents of assembly?  2
What is Partial Assembly References? Microsoft2
 
For more Dot Net Framework 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