COM LocalServer 的 .NET 等价物是什么?
在 VB6 中,编写提供 COM 类服务的应用程序是一件简单的事情,该应用程序将作为系统范围的单例运行,并且能够为多个进程提供 COM 类。我相信这被称为 COM LocalServer。
.NET 中的等效项是什么?如何制作一个可执行文件来处理来自多个应用程序或进程的请求?
In VB6, it was a simple matter to write applications that served up COM classes, the application would run as a system-wide singleton and would be able to serve COM classes to multiple processes. I believe this is called a COM LocalServer.
What's the equivalent in .NET? How can I make a single executable that handles requests from multiple applications or processes?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
最接近的等效项是 WCF (Windows Communication Foundation)
入门教程
了解 Windows Communication Foundation 编程的基本知识
用于开发 WCF 应用程序的实例管理技术
The nearest equivalent would be WCF (Windows Communication Foundation)
Getting Started Tutorial
Learn The ABCs Of Programming Windows Communication Foundation
Instance Management Techniques For Developing WCF Apps
我已经有一段时间没有这样做了,但我认为您只是将 ObjectPooling 属性设置为 1?
COM 和 .NET 组件服务
It has been a while since I did it but I think you just set the ObjectPooling attribute to 1?
COM and .NET Component Services