Host WCF on IIS 7.5

本文提供了一套详细的步骤来解决Windows Communication Foundation (WCF) 服务在IIS 7.5上部署的问题。主要包括打开特定文件夹、运行注册命令、配置Visual Studio环境变量及ASP.NET的安装等操作。

here is the solution:

step 1:

open folder : C:\WINDOWS\Microsoft.Net\Framework\v3.0\Windows Communication Foundation

step 2:

run command:ServiceModelReg.exe /i /x

step3:

run command:%comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"" x86

step 4:

run command: aspnet_regiis.exe -i

and then the following message will print out on the screen:

Start installing ASP.NET (4.0.30319).
............
Finished installing ASP.NET (4.0.30319).

now you should access your WCF service hosted on IIS7.5


转载于:https://www.cnblogs.com/hanxianlong/archive/2011/03/08/1977031.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值