<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: MaxReceivedMessageSize, MaxBufferSize, and proxy generation</title>
	<atom:link href="http://kennyw.com/work/indigo/70/feed" rel="self" type="application/rss+xml" />
	<link>http://kennyw.com/work/indigo/70</link>
	<description>Kenny Wolf's Thoughts of the Moment</description>
	<lastBuildDate>Tue, 09 Mar 2010 15:40:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kenny</title>
		<link>http://kennyw.com/work/indigo/70/comment-page-1#comment-181771</link>
		<dc:creator>Kenny</dc:creator>
		<pubDate>Thu, 16 Jul 2009 16:34:35 +0000</pubDate>
		<guid isPermaLink="false">http://kennyw.com/indigo/70#comment-181771</guid>
		<description>NetTcpBinding has that property:
        public long MaxReceivedMessageSize
        {
            get { return transport.MaxReceivedMessageSize; }
            set { transport.MaxReceivedMessageSize = value; }
        }


BTW, you can use Reflector to take a look at the internals very easily.</description>
		<content:encoded><![CDATA[<p>NetTcpBinding has that property:<br />
        public long MaxReceivedMessageSize<br />
        {<br />
            get { return transport.MaxReceivedMessageSize; }<br />
            set { transport.MaxReceivedMessageSize = value; }<br />
        }</p>
<p>BTW, you can use Reflector to take a look at the internals very easily.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rune</title>
		<link>http://kennyw.com/work/indigo/70/comment-page-1#comment-181766</link>
		<dc:creator>Rune</dc:creator>
		<pubDate>Thu, 16 Jul 2009 15:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://kennyw.com/indigo/70#comment-181766</guid>
		<description>What Binding?

                FTransportBinding = new NetTcpBinding();
                FTransportBinding.MaxReceivedMessageSize = 2048 * 1024; //won&#039;t compile

There&#039;s no such property there.

MSDN docs mention BindingElement or some such thing, but of course leaves few clues as to where I can get at those parts.

I&#039;m getting very frustrated with WCF. I come from a Borland Delphi background, and having full source to the library is the key to successfull development. Black boxes are so 80s.</description>
		<content:encoded><![CDATA[<p>What Binding?</p>
<p>                FTransportBinding = new NetTcpBinding();<br />
                FTransportBinding.MaxReceivedMessageSize = 2048 * 1024; //won&#8217;t compile</p>
<p>There&#8217;s no such property there.</p>
<p>MSDN docs mention BindingElement or some such thing, but of course leaves few clues as to where I can get at those parts.</p>
<p>I&#8217;m getting very frustrated with WCF. I come from a Borland Delphi background, and having full source to the library is the key to successfull development. Black boxes are so 80s.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kenny</title>
		<link>http://kennyw.com/work/indigo/70/comment-page-1#comment-147594</link>
		<dc:creator>Kenny</dc:creator>
		<pubDate>Sun, 16 Nov 2008 08:31:48 +0000</pubDate>
		<guid isPermaLink="false">http://kennyw.com/indigo/70#comment-147594</guid>
		<description>If you are generating config for your client, then you can specify maxReceivedMessageSize in the config. Rajesh, I would recommending isolating a couple things -- try localhost first, make sure that&#039;s good, then go offbox. It may be that you need to use netmon to track down what&#039;s going wrong here.</description>
		<content:encoded><![CDATA[<p>If you are generating config for your client, then you can specify maxReceivedMessageSize in the config. Rajesh, I would recommending isolating a couple things &#8212; try localhost first, make sure that&#8217;s good, then go offbox. It may be that you need to use netmon to track down what&#8217;s going wrong here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rick watson</title>
		<link>http://kennyw.com/work/indigo/70/comment-page-1#comment-146046</link>
		<dc:creator>rick watson</dc:creator>
		<pubDate>Wed, 05 Nov 2008 14:38:38 +0000</pubDate>
		<guid isPermaLink="false">http://kennyw.com/indigo/70#comment-146046</guid>
		<description>Good morning, I need to generate my clients (currently using the dynamicproxy) code as presented on the wcf.netfx3.com site. How can I specify the maxreceivedmessagesize. thank you for any assistance</description>
		<content:encoded><![CDATA[<p>Good morning, I need to generate my clients (currently using the dynamicproxy) code as presented on the wcf.netfx3.com site. How can I specify the maxreceivedmessagesize. thank you for any assistance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajesh</title>
		<link>http://kennyw.com/work/indigo/70/comment-page-1#comment-120148</link>
		<dc:creator>Rajesh</dc:creator>
		<pubDate>Thu, 24 Jul 2008 06:30:12 +0000</pubDate>
		<guid isPermaLink="false">http://kennyw.com/indigo/70#comment-120148</guid>
		<description>Hi Kenny,

 

I am encountering a different issue. I have my WCF running on a windows service mode and one of the method calls it actually returns about 4000 rows from the database.

 

Now on the client side when I access this method it gives me the error message as below:

An error occurred while receiving the HTTP response to http://192.168.1.71:2000/XYZService . This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.

 

Below is how my service and client configurator looks. I have tried transfermode as both streamed and buffered, but no luck.

 

Could you please let me know how could I overcome this issue.

 

service:

  
    
        
  

     
    
    
          
          
        
    
     

    
      
        
          
        
      
      
        
          
          
        
      
    

client:

    
        
          
          
            
            
          
        
    




      
</description>
		<content:encoded><![CDATA[<p>Hi Kenny,</p>
<p>I am encountering a different issue. I have my WCF running on a windows service mode and one of the method calls it actually returns about 4000 rows from the database.</p>
<p>Now on the client side when I access this method it gives me the error message as below:</p>
<p>An error occurred while receiving the HTTP response to <a href="http://192.168.1.71:2000/XYZService" rel="nofollow">http://192.168.1.71:2000/XYZService</a> . This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.</p>
<p>Below is how my service and client configurator looks. I have tried transfermode as both streamed and buffered, but no luck.</p>
<p>Could you please let me know how could I overcome this issue.</p>
<p>service:</p>
<p>client:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ali Pasha</title>
		<link>http://kennyw.com/work/indigo/70/comment-page-1#comment-9503</link>
		<dc:creator>Ali Pasha</dc:creator>
		<pubDate>Mon, 30 Oct 2006 18:21:30 +0000</pubDate>
		<guid isPermaLink="false">http://kennyw.com/indigo/70#comment-9503</guid>
		<description>One of the issues that we&#039;ve found is that this doesn&#039;t work for DataSets as they are usually bigger than the default MessageSize. This means that the user has to go in, find the setting, and manually change it whenever they are consuming a DataSet.

Is there any nice workaround for this issue?

Thanks</description>
		<content:encoded><![CDATA[<p>One of the issues that we&#8217;ve found is that this doesn&#8217;t work for DataSets as they are usually bigger than the default MessageSize. This means that the user has to go in, find the setting, and manually change it whenever they are consuming a DataSet.</p>
<p>Is there any nice workaround for this issue?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mattonsoftware.com : .NET Resources</title>
		<link>http://kennyw.com/work/indigo/70/comment-page-1#comment-1071</link>
		<dc:creator>mattonsoftware.com : .NET Resources</dc:creator>
		<pubDate>Sat, 06 May 2006 08:32:08 +0000</pubDate>
		<guid isPermaLink="false">http://kennyw.com/indigo/70#comment-1071</guid>
		<description>[...]  [...]</description>
		<content:encoded><![CDATA[<p>[...]  [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
