GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET 2.0
Go To First  |  Previous Question  |  Next Question 
 ASP.NET 2.0  |  Question 84 of 161    Print  
What is GAC? What are Strong and Weak Types?
Global Assembly cache.


  
Total Answers and Comments: 4 Last Update: November 09, 2005     Asked by: Prashanth Gajra 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 25, 2005 15:29:34   #1  
Ranjit Member Since: October 2005   Contribution: 18    

RE: What is GAC? What are Strong and Weak Types?
Global Assembly Cache

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. As a general guideline keep assembly dependencies private and locate assemblies in the application directory unless sharing an assembly is explicitly required. In addition it is not necessary to install assemblies into the global assembly cache to make them accessible to COM interop or unmanaged code.


 
Is this answer useful? Yes | No
October 25, 2005 15:36:18   #2  
Ranjit Member Since: October 2005   Contribution: 18    

RE: What is GAC? What are Strong and Weak Types?

In a strongly typed language all variables have a type that must be declared. In addition the compiler verifies the type consistency of expressions (and expressions are always of a type defined by the C# language or are user-defined types).


 
Is this answer useful? Yes | No
October 25, 2005 15:38:01   #3  
Ranjit Member Since: October 2005   Contribution: 18    

RE: What is GAC? What are Strong and Weak Types?
As a practical matter working in a strongly typed language means that you need to need to be very clear about the type of the information that will be stored in a variable. Strong typing enforces programming discipline and clarity about the contents of variables. It also prevents possible program errors that can occur in weakly typed environments when the compiler finds the wrong kind of value in a type. Another way of thinking of this is that weak typing allows a programmer to be lazy in a possibly dubious type conversion the compiler guesses what the programmer most likely meant (which can occasionally introduce errors).
 
Is this answer useful? Yes | No
November 09, 2005 04:43:34   #4  
sanker        

RE: What is GAC? What are Strong and Weak Types?

A machine-wide code cache that stores assemblies specifically installed to be shared by many applications on the computer. Applications deployed in the global assembly cache must have a strong name.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape