如果我想建立一个共享程序集,是否需要签名和管理密钥对的开销?如果是这样,有一个最佳实践的方法来这样做?
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.
更多推荐
共享配件
发布评论