IIS中配置WCF站点

来源:互联网 发布:mac如何打罗马数字 编辑:程序博客网 时间:2024/05/02 01:02

http://msdn.microsoft.com/zh-cn/library/aa751852.aspx

http://blog.csdn.net/hsg77/article/details/38927281

http://blog.csdn.net/jumtre/article/details/38975645

 

1.注册WCF服务至IIS http://blog.csdn.net/hjpror/article/details/7062819

IIS注册WCF
以管理员身份运行命令行: cd\
"C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -r -y

以管理员身份进入命令行模式,运行:
"%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -r -y

2.IIS中添加svc的MEMI  application/octet-stream

3.IIS中web应用程序模式设置为经典

4.未能从程序集“System.ServiceModel, Version=3.0.0.0”错误

cmd中运行:C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i -enable

5.启用windows安装

0 0