简体   繁体   English

部署WCF服务

[英]Deploying a WCF Service

I am using WCF for the first time. 我是第一次使用WCF。 I Have successfully created the service and it works fine on my local machine. 我已成功创建该服务,它在我的本地计算机上运行良好。 I want to know the steps involved for deploying the service to the client environment (including changes to the config file, IIS settings) and any other miscellaneous settings. 我想知道将服务部署到客户端环境所涉及的步骤(包括对配置文件的更改,IIS设置)以及任何其他杂项设置。

http://msdn.microsoft.com/en-us/library/aa751792.aspx http://msdn.microsoft.com/en-us/library/aa751792.aspx

There you go - the how to from Microsoft 你去了 - 如何从微软

You can also deploy a WCF service to a windows service host. 您还可以将WCF服务部署到Windows服务主机。 This is desirable in many situations which are outlined here: 这在以下概述的许多情况下是可取的:

IIS WCF service hosting vs Windows Service IIS WCF服务托管与Windows服务

Right click the service project in VS, select Copy Website. 右键单击VS中的服务项目,选择“复制网站”。 Specify the IIS path. 指定IIS路径。 (may need to connect) Moves / sync all files. (可能需要连接)移动/同步所有文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM