Quantcast
Channel: Joe Stevens' Blog » Silverlight
Viewing all articles
Browse latest Browse all 9

Passing a byte array to a WCF method from Silverlight – The remote server returned an error: NotFound

$
0
0
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 …

Viewing all articles
Browse latest Browse all 9

Trending Articles