追求卓越

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  3 随笔 :: 0 文章 :: 8 评论 :: 0 引用

公告

摘要: 本文主要介绍如何配置Win7 和 IIS7支持WCF。

关键词: WCF, Win7, IIS7

 

Win7 和 IIS7 默认不支持WCF, 要使其支持WCF,需要执行如下操作:

1. 以管理员(Administrator)方式运行C:\Windows\System32\cmd.exe

2. 执行命令:

  "%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -r -y

   (其中windir需要替换为你的windows安装目录)

【参考文献】

1. Host a WCF Service in IIS 7 & Windows 2008 - The right way

posted on 2010-02-26 14:41 Chen@Ethos 阅读(3414) 评论(5) 编辑 收藏