Home > Development > WCF Large Data Packets

WCF Large Data Packets


Had an issue with WCF the other day trying to figure out why I could not receive a list of 30000 strings from a method. Well the designers add a limit of 65KB as the maximum you can receive by default. You need to create a binding configuration for your service and set really large values for MaxReceivedMessageSize and MaxBufferSize and the two values need to be the same value also.

Hope this helps.

Blair…

Advertisements
Categories: Development Tags: , , ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: