部署在IIS WCF Web服务IIS、WCF、Web

2023-09-07 08:41:09 作者:暂时相见

我开发了一个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.

 
精彩推荐
图片推荐