大会之间和DLL差异 [英] Difference Between Assembly and DLL

查看:138
本文介绍了大会之间和DLL差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大会和DLL之间的区别是什么?在发送code键远程客户端,应一个DLL文件发送或应该一大会被发送(当直接TCP连接可用两者之间)?

What is the difference between Assembly and a DLL? While sending the code to a remote client, should a DLL file be sent or should a Assembly be sent (When direct TCP connection is available between two)?

推荐答案

程序集是.NET的部署的最小单位。一般的组件对应于单个文件,但它不必 - 你可以有多个文件,其中有一种是这知道所有其他位是主

An assembly is .NET's "minimum unit of deployment". Usually an assembly corresponds to a single file, but it doesn't have to - you can have multiple files, with one of them being the master which knows where all the other bits are.

单文件程序集通常是DLL或EXE文件。如果你有一个正常的类库,你只是想将它发送给对方,该DLL是你想要的。我只担心更复杂的场景,当你碰到他们:)

Single-file assemblies are usually DLLs or EXE files. If you've got a normal class library and you just want to send it to the other side, the DLL is what you want. I'd only worry about more complicated scenarios as and when you run into them :)

这篇关于大会之间和DLL差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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