Hi everybody I’m trying to fully understand WCF configuration options. There is a thing that I fully don’t understand. Why should I say to the client and to the server that the MaxReceivedMessageSize is x KB?
I mean I have a service that exposes a set of fire-and-forget calls (no callback). Why should the client know how much is the MaxReceivedMessageSize? What happens if I don’t tell anything to the client? Will it use the default size so if the message is bigger than that it exceeds?
Thanks,
Marco
The client configuration is used only when client receives messages (responses) so in your case you don’t have to setup MaxReceivedMessageSize on the client at all – it will never be used.