WCF关于VS2010的配置

C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE 下的 devenv.exe.config

在 <configuration> 节最后面加上

<system.serviceModel>     <client>       <endpoint name="net.tcp" binding="netTcpBinding" bindingConfiguration="bc" contract="IMetadataExchange" />     </client>     <bindings>       <netTcpBinding>         <binding name="bc" maxReceivedMessageSize="">           <readerQuotas maxNameTableCharCount="" />           <security mode="None"/>         </binding>       </netTcpBinding>     </bindings>   </system.serviceModel>
上一篇:PullToRefreshListView中嵌套ViewPager滑动冲突的解决


下一篇:并发编程之wait()、notify()