My Silverlight application calls a method to get an image from the server as a byte array. When adding my Service Reference the ServiceReferences.ClientConfig automatically generated the binding’s MaxBufferSize and MaxRecievedMessageSize as 2147483647 which is a lot bigger than I want to I changed them to 5242880 (5MB). When the application calls the service to bring down an image these values are used to limit the size of the response message. I also set the MaxBufferSize and MaxRecievedMessageSize to 5242880 in the … →
↧