寻找WCF web.config文件内部工作原理的解释。特别是这些部分。 我知道他们的意思,但我真正想要的是对内部运作的解释。比如说
<system.serviceModel>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
<protocolMapping>
<add scheme="http" binding="wsHttpBinding" bindingConfiguration="" />
</protocolMapping>
<services>
<service behaviorConfiguration="DevelopmentBehavior" name="MyCo.Administration.AdminSvcs.AdministrationSvc">
<endpoint address="" binding="wsHttpBinding" contract="MyCo.Administration.AdminSvcs.IAdministrationSvc" bindingConfiguration="DevelopmentBinding" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="ProductionBehavior">
<serviceMetadata httpGetEnabled="false" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
<behavior name="DevelopmentBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<wsHttpBinding>
<binding name="DevelopmentBinding">
<security mode="None">
<transport clientCredentialType="None" />
<message establishSecurityContext="false" />
</security>
</binding>
</wsHttpBinding>
</bindings>
答案 0 :(得分:0)
您是否阅读过官方文档?它位于http://msdn.microsoft.com/en-us/library/ms733932.aspx
因为这个问题不是很具体,所以指向一般的官方文档是关于我能做的最好的,除非你有更多的问题吗?