在服务器上使用 DLL
我有两个网络,两个网络都有服务器。一个网络有带有数据库的服务器,我需要从属于另一个网络的客户端访问该数据库。
现在我有 dll,它具有连接数据库的方法,所以我的意思是创建一个 web 服务,其中将包含此 dll 作为引用,而客户端应用程序将将此 web 服务作为 web 引用!但这将是困难的。
那么我可以将 dll 放在服务器上并从客户端应用程序使用它吗?
谢谢!
I have two network and both network have server. And one network have server with database that i need to access from the client which is belong to another network.
Now I have dll that have methods for connecting on database, so i mean to make webservice which going to include this dll as a reference and client application going to have this webservice as a web reference! But this is going to be belong difficult.
So can i just put dll on server and use it from client application?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我建议您实际尝试一下,如果出现问题,请提出更具体的问题并提供更多信息。
I recommend you actually try this and if there are problems, then ask a more specific question with more information.
是的,您可以,但您必须修改 代码访问安全策略。这通常比仅仅在本地复制文件要困难得多。
Yes you can but you'll have to modify the code access security policy. This is usually much harder than just copying the file locally.