2
目前我正在設置每個綁定上的maxReceivedMessageSize,是否有一種方法可以一次性將其全部設置爲全部?WCF配置:爲所有綁定設置maxReceivedMessageSize?
<wsHttpBinding>
<binding name="WSHttpBinding_IQQQService" maxReceivedMessageSize="250000" />
<binding name="WSHttpBinding_ISSSService" maxReceivedMessageSize="250000" />
<binding name="WSHttpBinding_IDDDService" maxReceivedMessageSize="250000" />
<binding name="WSHttpBinding_IFFFService" maxReceivedMessageSize="250000" />
.....
我建議這是不可能的,因爲具有不同設置的不同綁定的主要目的將會丟失。 – CodeSpread