共享配件 - 从签订必需? [英] Shared Assembly - Is Signing Required?

查看:111
本文介绍了共享配件 - 从签订必需?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我想建立一个共享程序集,是否需要签名和管理密钥对的开销?如果是这样,有一个最佳实践的方法来这样做?

If I want to build a shared assembly, does that require the overhead of signing and managing key pairs? If so, is there a best practice approach to doing so?

推荐答案

没有,共享应用程序之间的装配(外 GAC ,我不建议你将其放置在),你不必签署它。您需要一般签署组装,你什么时候把它给第三方。其验证所述组件的一个方式是真正的,没有被篡改。

No, to share an assembly between applications (outside of the GAC which I don't recommend that you place it in), you don't need to sign it. You need to sign an assembly generally, when you are going to give it to a third party. Its a way of verifying the assembly is genuine and hasn't been tampered with.

在签约大会和最佳实践

记住,这并不意味着它们共享相同的组件,在内存。他们将有自己的副本,将彼此独立地起作用。在应用程序之间共享信息,你需要为使用远程处理或WCF。

Remember this does not mean that they share the same assembly in memory. They will have their own copies and will act independently of each other. To share information between applications, you need to use either Remoting or WCF.

这篇关于共享配件 - 从签订必需?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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