问题
Can some one please help me on the Steps to build and Deploy a WCF Service on IIS using the PowerShell Scripting.
Regards, Harshal
回答1:
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
With that snap-in, you can very easily add/configure application pools, create IIS Applications, backup the IIS config files and so on.
The "deploy" part of your question can easily be implemented by a PS script running as a postbuild event.
来源:https://stackoverflow.com/questions/9494349/steps-to-build-and-deploy-a-wcf-service-on-iis-using-powershell-scripting