提供 asmx Webservices 安装程序
将几个 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
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.
我很久以前(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