IIS 7 and Above
How to deploy WebService to IIS by C#?
Last post Mar 07, 2018 03:27 AM by Yuk Ding
Mar 06, 2018 01:43 PM|NTL Dev|LINK
I writing an app have Client and Server side. When sell this app to customer. I need to deploy Server side of app on customer PC as a local Server.
I want to create an Windows app as a tool to deploy WebService of my Server side app to customer PC IIS with one Click.
How to deploy WebService to IIS in C#?
Mar 06, 2018 05:25 PM|lextm|LINK
Windows and IIS can be automated via PowerShell. Use your Google skills to learn from that.
Mar 07, 2018 03:27 AM|Yuk Ding|LINK
If you need to deploy the webservice programmatically, you may need to use the IIS remote management service.
Then you should be able to connect and configure the the remote IIS configuration via:
I think maybe you could use c# to run cmd command with webdeploy.exe.
In addition, I just find the web deployment API here: