silverlight   发布时间:2022-05-03  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了Silverlight 通信WCF 服务器Web.Config 配置大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

<system.serviceModel>    <behaviors>     <serviceBehaviors>      <behavior name="SilverlightApplication3.Web.service1Behavior">       <serviceMetadata httpGetEnabled="true"/>       <serviceDebug inclu

<system.serviceModel>
   <behaviors>
    <serviceBehaviors>
     <behavior name="SilverlightApplication3.Web.service1Behavior">
      <serviceMetadata httpGetEnabled="true"/>
      <serviceDebug includeExceptionDetailInFaults="false"/>
     </behavior>
    </serviceBehaviors>
   </behaviors>
        <bindings>
            <basichttpBinding>
                <binding name="BasichttpBinding_IDataservice"
             maxBufferPoolSize="2147483647"
             maxReceivedmessageSize="2147483647"
             maxBufferSize="2147483647">
                    <readerQuotas
               maxArrayLength="2147483647"
               maxBytesPerRead="2147483647"
              maxDepth="2147483647"
              maxNaMetableCharCount="2147483647"
              maxStringContentLength="2147483647" />
         
        </binding>
       
      </basichttpBinding>
     
    </bindings>
   <serviceHosTingEnvironment aspNetCompatibilityEnabled="true"/>
   <services>
    <service behaviorConfiguration="SilverlightApplication3.Web.service1Behavior" name="SilverlightApplication3.Web.service1">
     <endpoint address="" binding="basichttpBinding" bindingConfiguration="BasichttpBinding_IDataservice" contract="SilverlightApplication3.Web.service1"/>
     <endpoint address="mex" binding="mexhttpBinding" contract="IMetadataExchange"/>
    </service>
   </services>
</system.serviceModel>

注意红色部分为同名

大佬总结

以上是大佬教程为你收集整理的Silverlight 通信WCF 服务器Web.Config 配置全部内容,希望文章能够帮你解决Silverlight 通信WCF 服务器Web.Config 配置所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。