WCF实战网站

1:WCF入门网站,我学啦,WCF很快搞定

         网址:1:http://blog.csdn.net/zh_bing/article/details/7449776  (创建第一个WCF服务)

                     2:  http://blog.csdn.net/zh_bing/article/details/7449810  (使用iis使用WCF服务)

         在部署的时候,增加web应用程序,增加如下代码:

   </system.serviceModel>

  <system.webServer>

    <modules runAllManagedModulesForAllRequests="true" />

  </system.webServer>

  <microsoft.applicationServer>

    <hosting>

      <serviceAutoStart>

        <add relativeVirtualPath="CRM.svc" />

      </serviceAutoStart>

    </hosting>

  </microsoft.applicationServer>

</configuration>

原文地址:https://www.cnblogs.com/wangyhua/p/4050627.html