如何在 MMC 2.0 中开发 IIS 6.0 管理器的管理单元
我有一些 IIS 6.0 过滤器和扩展,需要在 IIS 管理器中为其创建配置面板。例如,我需要创建类似于 ASP.NET 选项卡的内容。
我需要支持 R2 之前的 Windows Server 2003 版本,并且不能假设它们将安装 MMC 3.0 更新,因此我想我必须使用非托管 C++ 来完成此操作。
我已经阅读了 MMC 管理单元,并且对它们的工作原理有一个非常基本的了解,但我不确定如何获取作为 IIS 管理器中的选项卡加载的管理单元。我想也许“扩展管理单元”就是我所需要的,但我并不肯定。
因此,我正在寻找有关如何执行此类操作的任何类型的文档、文献、教程、示例等。有什么想法吗?
I have some IIS 6.0 filters and extensions that I need to create a configuration panel for in IIS Manager. I need to create something similar to the ASP.NET tab, for instance.
I need to support versions of Windows Server 2003 prior to R2, and can't assume that they will have the MMC 3.0 update installed, so I guess I have to do it with unmanaged C++.
I've read up on MMC snap-ins, and I have a very basic idea of how they work, but I'm not sure about how to get one that is loaded as a tab in the IIS Manager. I'm thinking that maybe an "extension snap-in" is what I need, but I'm not positive.
So, I'm looking for any kind of documentation, literature, tutorials, examples, etc on how to do something like this. Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
关于如何执行此操作的信息并不多...
以下是 MMC 2.0 指南的链接:
http://msdn.microsoft.com/en-us/library/aa815085(v=VS.85).aspx
这是扩展 IIS 的链接通过管理单元:
http://msdn.microsoft。 com/en-us/library/aa814685(VS.85).aspx
关于我能找到的唯一教程,但它不是特定于 IIS...
http://msdn.microsoft.com/en-us/magazine/cc301779.aspx
There isn't much out there on how to do this....
Here's a link to the MMC 2.0 guides:
http://msdn.microsoft.com/en-us/library/aa815085(v=VS.85).aspx
Here's a link on extending IIS via snap-ins:
http://msdn.microsoft.com/en-us/library/aa814685(VS.85).aspx
About the only tutorial out there from what I could find but it is not specific to IIS....
http://msdn.microsoft.com/en-us/magazine/cc301779.aspx
这不是您正在寻找的答案,但却是您需要听到的答案:
Microsoft 不再支持 MMC 2.0。
MMC 3.0 包含在 Windows Server 2003 Service Pack 2 中,Windows Server 2003 Service Pack 2 中包含 MMC 3.0。是 Microsoft 支持的唯一剩余服务包版本。确实有客户拒绝升级到 Server 2003 Service Pack 2 吗?它于 3.5 年前问世,代表了 Server 2003 平台在安全性、性能和软件兼容性方面所提供的最佳性能。它也是唯一继续接收 IIS 安全更新的版本。
如果有人因为特定的兼容性问题而拒绝升级到 2003 SP2,您真的认为他们会抓住这个机会向您付费并在他们的服务器上安装您的管理单元吗?
可能不会。
因此,您可以省去很多麻烦,并为未来做好准备——在 MMC 3.0 中进行开发。
This isn't the answer you're looking for, but it's the answer you need to hear:
MMC 2.0 is no longer supported by Microsoft.
MMC 3.0 is included with Windows Server 2003 Service Pack 2, which is the only remaining service pack release supported by Microsoft. Do you really have customers that refuse to upgrade to Server 2003 Service Pack 2? It came out 3.5 years ago and represents the best the Server 2003 platform has to offer in terms of security, performance, and software compatibility. It's also the only release that continues to receive security updates for IIS.
And if there are people out there that refuse to upgrade to 2003 SP2 due to specific compatibility concerns, do you really think they're going to jump at the opportunity to pay you and install your snap-in on their servers?
Probably not.
So save yourself a lot of grief, and position yourself well for the future -- do your development in MMC 3.0.
不幸的是,没有办法做到你所要求的。您可以为 MMC 创建管理单元/扩展,但无法扩展 IIS 管理单元。
Unfortunately, there is no way to do what you are asking. You can create a snap-in/extension for MMC, but you will not be able to extend the IIS snap-in.