What is Global Assembly Cache (GAC) and what is the purpose
of it?
Answer Posted / 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 ? | 11 Yes | 1 No |
Post New Answer View All Answers
how can you tell ef to have a different table or column name than that defined for the class?
Explain the use of Inversion of control (IOC)?
How to Redirect Tracing to a File
Explain the new features added in version 4 of mvc (mvc4)?
Is dapper faster than entity framework?
Where is tempdata stored?
What is Area in ASP.Net MVC?
Explain the advantage of packaging over xcopy in .net?
What is separation of concerns in asp.net mvc?
Can any particular component of .net framework 3.0 be removed?
Which version of the common language runtime (clr) does the .net framework 3.0 use?
What is the use .Glimpse in ASP.Net MVC
Is it possible to create a custom filter?
mention what is code first approach and model first approach in entity framework?
What is a model in programming?