部署在IIS WCF Web服务 [英] Deploy WCF web service on IIS
本文介绍了部署在IIS WCF Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我开发了一个WCF服务,为发展正常工作的机器。现在我想没有VisualStudio中另一台服务器上部署它,只能用IIS和安装了.NET Framework。 我想确认以下步骤是否正确与否:
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:
- 选择WCF文件:web.config中; Service.svc;和斌foloder(Service.dll)
- 将在一个IIS目录WCF文件,并链接到一个vitual目录
- 在浏览它
谢谢!
推荐答案
我认为,应该足够了。
部署(假设权限和网络连接),最简单的方法是用鼠标右键单击在Visual Studio中的项目,并选择发布。您可以发布到您已设置为虚拟目录的文件夹。
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.
这篇关于部署在IIS WCF Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文