Reputation: 68810
Currently I am setting the maxReceivedMessageSize on each binding, is there a way to simply set it for all at once?
<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" />
.....
Upvotes: 2
Views: 231
Reputation: 40863
If you do not supply a name it should be treated as the default.
<wsHttpBinding>
<binding maxReceivedMessageSize="250000">
</wsHttpBinding>
This is for WCF4, more information can be found here on msdn.
Upvotes: 2