Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
What is meant by register assembly in GAC?
Could someone please explain it briefly?
Posted
Updated 2-Sep-15 3:06am
Comments
CHill60 2-Sep-15 9:11am    
Did you read the posting guidelines?
[no name] 2-Sep-15 9:26am    
no, i will check

 
Share this answer
 
Comments
Maciej Los 2-Sep-15 9:30am    
5ed!
Richard MacCutchan 2-Sep-15 9:37am    
Thanks Maciej. Did you know that I earn more 5s from using Google than I do from using my brain? :)
Have one for yourself.
Maciej Los 2-Sep-15 10:05am    
:laugh:
Thank you, Richard
Sergey Alexandrovich Kryukov 2-Sep-15 9:39am    
I also added more links and basic explanation, in addition to yours and Maciej's answers.
—SA
The best way to learn is to read the documentation:
Global Assembly Cache[^]
How to: Install an Assembly into the Global Assembly Cache[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 2-Sep-15 9:40am    
5ed.
I also added more links and basic explanation, in addition to yours and Richard's answers.
—SA
Maciej Los 2-Sep-15 10:06am    
Thank you, Sergey.
See also: https://en.wikipedia.org/wiki/Global_Assembly_Cache[^].

The main idea behind GAC is to references commonly-used assemblies by their strong names, not by locations/names of their main modules. And the strong name, with assembly version, is supposed to be world-unique. In turn, strong naming is based on digital signature, and digital signature is based on public-key cryptography:

https://en.wikipedia.org/wiki/Strong_key[^],
https://msdn.microsoft.com/en-us/library/wd40t7ad%28v=vs.110%29.aspx[^],
https://msdn.microsoft.com/en-us/library/vstudio/h4fa028b%28v=vs.100%29.aspx[^],
https://en.wikipedia.org/wiki/Digital_signature[^],
https://en.wikipedia.org/wiki/Public-key_cryptography[^].

—SA
 
Share this answer
 
v2
Comments
Maciej Los 2-Sep-15 10:06am    
5ed!
Sergey Alexandrovich Kryukov 2-Sep-15 10:10am    
Thank you, Maciej.
—SA
Arasappan 2-Sep-15 13:36pm    
5
Sergey Alexandrovich Kryukov 2-Sep-15 15:51pm    
Thank you.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900