Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is Global Assembly Cache (GAC) and what is the Purpose
of it?



What is Global Assembly Cache (GAC) and what is the Purpose of it?..

Answer / guest

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 ?    3 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

What is value type and refernce type in .net?

0 Answers  


If you are executing these statements in commandobject. Select * from table1; select * from table2? How you will deal result set? 42. How do you sort a dataset.

0 Answers  


What is the use of immutability?

0 Answers  


How is .net core cross platform?

0 Answers  


What is nmake tool?

1 Answers  


What is RCW (Run time Callable Wrappers)?

2 Answers  


Do you know what are three common acronyms used in .net, and what do they stand for?

0 Answers  


What is a .DLL and .EXE files called in .NET?

0 Answers   CitiusTech,


Explain what is a manifest in .net?

0 Answers  


What is the managed and unmanaged code in .net?

2 Answers  


Will it go to finally block if there is no exception happened?

0 Answers  


Can we Classic ASP,.Net 1.0, .Net 1.x and .Net 2.0 installed on the same system?

2 Answers   Value Labs,


Categories