提供 asmx Webservices 安装程序

发布于 2024-08-14 14:09:32 字数 432 浏览 3 评论 0原文

将几个 asmx web 服务部署到 IIS 的最佳方法是什么? (6.0、6.1、7.0)
这些服务是可选安装,我认为安装它们最方便的方法是某种 Windows Installer 程序包。
我创建了一个直接修改 IIS Metabase 的小型 C# 程序,但这仅适用于 IIS 6.0 和 6.1,并且我不想发布可能损害客户 IIS 安装的内容。

我们的服务(约 10 个不同的 .asmx 文件)均已预编译并按以下结构组织:

 /services
   /serviceA
      /bin
      Service.asmx
   /serviceB
      /bin
      Service.asmx
   /serviceC
      /bin
      Service.asmx
      ...
      ..
      .

What is the best way to deploy a couple of asmx webservices to IIS. (6.0, 6.1, 7.0)
The services are an optional install and I think the most convenient way to install them would be some kind of Windows Installer package.
I created a small C# program that directly modifies the IIS Metabase, but this only works on IIS 6.0 and 6.1 and I don't want to ship something that might harm a customers IIS installation.

Our services (~10 different .asmx files) are all precompiled and organized in the following structure:

 /services
   /serviceA
      /bin
      Service.asmx
   /serviceB
      /bin
      Service.asmx
   /serviceC
      /bin
      Service.asmx
      ...
      ..
      .

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

糖果控 2024-08-21 14:09:32

WiX 确实是在 Windows 平台上进行任何类型软件部署的最佳工具。除此之外,它还包括此类 IIS 配置的自定义操作,请参阅 XML 元素等。和了解详情。

WiX is really best tool to do any kind of software deployment on the Windows platform. Among other things, it includes custom actions for this kind IIS configuring, see XML elements <iis:WebServiceExtension>, <iis:WebSite>, <iis:WebVirtualDir> and <iis:WebApplication> for details.

乜一 2024-08-21 14:09:32

我很久以前(XP)使用VBScript和VS安装程序做过这个?

我想现在有一种更好的方法可以做到这一点

I did this a long time back (XP) using VBScript and the VS installer?

Id imagine there is a much nicer way to do this now

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文