使用PowerShell脚本在IIS上构建和部署WCF服务的步骤 [英] Steps to Build and deploy a WCF Service on IIS using PowerShell scripting
问题描述
有人可以帮助我使用PowerShell脚本在IIS上构建和部署WCF服务的步骤。
Can some one please help me on the Steps to build and Deploy a WCF Service on IIS using the PowerShell Scripting.
问候,
Harshal
Regards, Harshal
推荐答案
IIS 7有一个PowerShell管理单元。您可以在此处找到它:
https://www.iis.net/learn/ manage / powershell / getting-started-with-iis-powershell-snap-in
There is a PowerShell snap-in for IIS 7. You can find it here: https://www.iis.net/learn/manage/powershell/getting-started-with-the-iis-powershell-snap-in
使用该管理单元,您可以非常轻松地添加/配置应用程序池,创建IIS应用程序,备份IIS配置文件等等。
With that snap-in, you can very easily add/configure application pools, create IIS Applications, backup the IIS config files and so on.
问题的部署部分可以通过运行为的PS脚本轻松实现一个后期活动。
The "deploy" part of your question can easily be implemented by a PS script running as a postbuild event.
这篇关于使用PowerShell脚本在IIS上构建和部署WCF服务的步骤的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!