Deploy WCF web service on IIS

2019-07-15 12:17发布

I developed a WCF service which works fine at the machine for development. Now i want to deploy it on another server without VisualStudio, only with IIS and .Net framework installed. I want to confirm whether the following steps are correct or not:

  1. Pick WCF Files: web.config; Service.svc; and Bin foloder (Service.dll)
  2. Put WCF files in one IIS directory, and link to a vitual dir
  3. Browse it

thanks!

1条回答
萌系小妹纸
2楼-- · 2019-07-15 13:00

I believe that should be sufficient.

The simplest means of deploying (assuming permissions and network connectivity) is to right-click the project in Visual Studio and select publish. You can publish to a folder that you've already set up as a virtual directory.

查看更多
登录 后发表回答