注册程序集是什么意思? [英] What is meant by registering an assembly?

查看:155
本文介绍了注册程序集是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

GAC中的注册程序集是什么意思?

有人可以简要解释一下吗?

What is meant by register assembly in GAC?
Could someone please explain it briefly?

推荐答案

请了解如何使用Google : https://www.google.com/search?q=register+assembly+in+GAC [ ^ ] 。
Please learn how to use Google: https://www.google.com/search?q=register+assembly+in+GAC[^].


最好的学习方法是阅读文档:

全局程序集缓存 [ ^ ]

如何:将程序集安装到全局程序集缓存中 [ ^ ]
The best way to learn is to read the documentation:
Global Assembly Cache[^]
How to: Install an Assembly into the Global Assembly Cache[^]


另请参阅: https://en.wikipedia .org / wiki / Global_Assembly_Cache [ ^ ]。



GAC背后的主要思想是通过强名称引用常用的程序集,而不是通过其主要的位置/名称引用它们模块的。具有装配版本的强名称应该是世界上独一无二的。反过来,强命名基于数字签名,数字签名基于公钥加密



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 [ ^ ]。< br $>


-SA
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


这篇关于注册程序集是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆