共享配件

编程入门 行业动态 更新时间:2024-10-24 22:25:54
本文介绍了共享配件 - 从签订必需?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

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.

更多推荐

共享配件

本文发布于:2023-11-13 10:40:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1584158.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:配件

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!