开发者

How to build an installer for a IIS hosted WCF service

I made a WCF service and manually copied it to a directory with the correct permissions on a Windows 2008 box with a correctly configured IIS 7.0. It works ;-)

Can I find somewhere how to perform these tasks with a regular installer (.msi) file? Or should开发者_开发技巧 I not want this to be possible?


I know it is maybe too late, but if you use Visual Studio 2015 and Installshield 2015 it is really very simple to accomplish.

  • Add a setup project
  • Go to step 3: Configure the Target System
  • Go to Internet Information Services and in the left panel you can add Web Sites and then Virtual Directories or Applications as you need
  • Then you can select the .NET version, default document, content source among other settings

Hope it helps!


You can publish services in the same way you would deploy web content. Check this MSDN link - Deploying an Internet Information Services-Hosted WCF Service

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜