制作 COM+ C#安装包
我最近的任务是简化由 w2k3 服务器的 5-6 个 COM+ 应用程序组成的 COM+ 安装,以前从未使用过 COM+。我已经看到一些使用 vbscript 执行此操作的方法,但我更喜欢这样做它在 C# 中。所以我一直在四处寻找,但似乎找不到任何与 C# 类似的东西。
我仅限于使用.NET 2.0,这可行吗?我一直在寻找 COM 相关的库,但到目前为止我还没有看到我可以使用什么。
如果你们能提供有关如何实现这一目标的任何指示,我将不胜感激,并且我也可能会在此过程中发布一些其他新手 COM+ 问题。
I recently got tasked with simplifying a COM+ installation consisting of 5-6 COM+ apps for w2k3 server, never having worked with COM+ before. I've seen some ways to do this with a vbscript, but I would much prefer doing it in C#. So I've been searching around and I can't seem to find anything similar for C#.
I am limited to using .NET 2.0, is this feasible? I have been looking for a COM related library, but so far I don't see what I could use.
I would appreciate any pointers you guys might have on how to achieve this, and I will also probably be posting a number of other newbie COM+ questions along the way.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有一些东西可以帮助您 - 查看 System.EnterpriseServices 命名空间。
您必须跳过一些环节才能将您的.NET程序集注册为COM对象,但这应该是一个不错的起点。
There is something that will help you -- take a look at the System.EnterpriseServices namespace.
You will have to jump through some hoops to get your .NET assemblies registered as COM objects, but that should be a decent starting point.