Deploy WCF web service on IIS

旧街凉风 提交于 2019-12-12 18:17:47

问题


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:


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.



来源:https://stackoverflow.com/questions/7932621/deploy-wcf-web-service-on-iis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!