silverlightwcfsslmaxreceivedmessagesize

WCF Service data limits with SSL


I've managed to set up my Web Service to use SSL but now some calls that initially worked are now failing because the MaxReceivedMessageSize is too small.

The service returns data from a database using linq and the amount of elements retrieved is limited using

.take(400);

this works fine when I'm not using SSL but using SSL causes the call to fail, does SSL increase the message size?

Is it generally a good idea to increase the MaxReceivedMessageSize for this case or should I attempt to get the data in chunks, if so does anyone have any suggestions on how I could go about doing this, I'm using Silverlight with ASync calls.

Thanks


Solution

  • I would assume that SSL would increase the actual amount of traffic due to the additional encryption.

    Either of your suggestions would work, however, I personally would increase the MaxReceivedMessageSize, ensuring that maxBufferSize is also adjusted