WCF双工部署到IIS中的虚拟目录就访问不了?
部署到IIS根目录可以正常访问WCF 双工,放到站点的虚拟目录就访问不了?
配置文件:
iis 部署图:

IIS站点配置图:

配置文件:
<?xml version="1.0" encoding="utf-8"?>
<!--
有关如何配置 ASP.NET 应用程序的详细消息,请访问
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0" />
</system.web>
<system.serviceModel>
<bindings>
<netTcpBinding>
<binding name="netTcpBindConfig" closeTimeout="00:30:00" portSharingEnabled="true"
openTimeout="00:30:00" receiveTimeout="00:30:00" sendTimeout="00:30:00"
transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions"
hostNameComparisonMode="StrongWildcard" listenBacklog="10">
<readerQuotas maxDepth="2147483647"
maxStringContentLength="2147483647"
maxArrayLength="2147483647"
maxBytesPerRead="2147483647"
maxNameTableCharCount="2147483647" />
<reliableSession ordered="true" inactivityTimeout="00:01:00" enabled="false" />
<security mode="None">
<transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
<message clientCredentialType="Windows" />
</security>
</binding>
</netTcpBinding>
</bindings>
<services>
<service behaviorConfiguration="CommonService" name="WcfDoubleTest.CalculatorService">
<endpoint binding="netTcpBinding" contract="WcfDoubleTest.ICalculator" bindingConfiguration="netTcpBindConfig"/>
<endpoint address="mex" binding="mexTcpBinding" contract="IMetadataExchange" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="CommonService">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true">
<serviceActivations>
<add relativeAddress="ab2fc1db5b0d4aca86ce45565616f00c.svc" service="WcfDoubleTest.CalculatorService" />
</serviceActivations>
</serviceHostingEnvironment>
</system.serviceModel>
</configuration>
iis 部署图:

IIS站点配置图:

...全文
相关推荐
iis6部署wcf
iis6部署wcf操作文档,问题总结。
WCF框架实战讲解与实例
本文还有配套的精品资源,点击获取 简介:WCF是微软的面向服务的通信框架,提供了构建分布式应用的编程模型。该框架通过服务模型、数据模型、绑定、终结点和宿主等核心概念,支持多种通信协议和跨平台、跨语言的互操作性。本课程将详细探讨WCF的原理,通过配置和发布到IIS等实例,帮助开发者掌握如何设计、实现和部署WCF服务。 1. WCF框架介绍 WCF(Window...
IIS部署WCF服务
一篇中,我们创建了一个简单的WCF服务,在测试的时候,我们使用VS2008自带的WCFSVCHost(WCF服务主机)发布WCF服务,以便进行测试。这种VS2008内置的WCFSVCHost只适用于开发人员测试的使用,能进行WCF服务部署。这一篇文章中我们来看一下如何在IIS中部发布我们上一篇中做好的WCF服务。
在IIS上部署Silverlight+WCF项目教程
在IIS上部署Silverlight+WCF项目教程。
部署WCF上IIS的步骤
将WCF部署上IIS的步骤与silverlight浏览的安装文件


