<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Protocol Channel Example: Chunking</title>
	<link>http://kennyw.com/indigo/53</link>
	<description>Kenny Wolf's Thoughts of the Moment</description>
	<pubDate>Thu, 08 Jan 2009 15:18:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: kennyw.com &#187; Blog Archive &#187; Security and Streamed Messages</title>
		<link>http://kennyw.com/indigo/53#comment-89268</link>
		<author>kennyw.com &#187; Blog Archive &#187; Security and Streamed Messages</author>
		<pubDate>Mon, 18 Feb 2008 17:33:58 +0000</pubDate>
		<guid>http://kennyw.com/indigo/53#comment-89268</guid>
		<description>[...] you want to use full WS-Security, then you would need app-level â€œchunkingâ€ or a chunking protocol at the [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] you want to use full WS-Security, then you would need app-level â€œchunkingâ€ or a chunking protocol at the [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ksenia</title>
		<link>http://kennyw.com/indigo/53#comment-62243</link>
		<author>Ksenia</author>
		<pubDate>Tue, 07 Aug 2007 19:19:13 +0000</pubDate>
		<guid>http://kennyw.com/indigo/53#comment-62243</guid>
		<description>Hello Kenny,

I have the same problem as guys had. I try to use chunking for WSDualHttpBinding. I create binding elements from in the following way:
public override BindingElementCollection CreateBindingElements()
        {
            WSDualHttpBinding wsHttpBinding = new WSDualHttpBinding();
            BindingElementCollection beCollection = wsHttpBinding.CreateBindingElements();
           beCollection.Insert(6, be);
            return beCollection;

            //BindingElementCollection col = new BindingElementCollection();
            //col.Add(new TransactionFlowBindingElement());
            //col.Add(rsbe);
            ////col.Add(new TransportSecurityBindingElement());
            //col.Add(SecurityBindingElement.CreateAnonymousForCertificateBindingElement());
            //col.Add(cdbe);
            //col.Add(owbe);
            //col.Add(new WindowsStreamSecurityBindingElement());
            //col.Add(encbe);
            //col.Add(be);
            //col.Add(httpbe);
            //return col;
        }</description>
		<content:encoded><![CDATA[<p>Hello Kenny,</p>
<p>I have the same problem as guys had. I try to use chunking for WSDualHttpBinding. I create binding elements from in the following way:<br />
public override BindingElementCollection CreateBindingElements()<br />
        {<br />
            WSDualHttpBinding wsHttpBinding = new WSDualHttpBinding();<br />
            BindingElementCollection beCollection = wsHttpBinding.CreateBindingElements();<br />
           beCollection.Insert(6, be);<br />
            return beCollection;</p>
<p>            //BindingElementCollection col = new BindingElementCollection();<br />
            //col.Add(new TransactionFlowBindingElement());<br />
            //col.Add(rsbe);<br />
            ////col.Add(new TransportSecurityBindingElement());<br />
            //col.Add(SecurityBindingElement.CreateAnonymousForCertificateBindingElement());<br />
            //col.Add(cdbe);<br />
            //col.Add(owbe);<br />
            //col.Add(new WindowsStreamSecurityBindingElement());<br />
            //col.Add(encbe);<br />
            //col.Add(be);<br />
            //col.Add(httpbe);<br />
            //return col;<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kenny</title>
		<link>http://kennyw.com/indigo/53#comment-61607</link>
		<author>Kenny</author>
		<pubDate>Thu, 02 Aug 2007 21:33:21 +0000</pubDate>
		<guid>http://kennyw.com/indigo/53#comment-61607</guid>
		<description>Your stack seems to be ellided. is Chunking at the top? Is it a duplex stack?</description>
		<content:encoded><![CDATA[<p>Your stack seems to be ellided. is Chunking at the top? Is it a duplex stack?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillaume</title>
		<link>http://kennyw.com/indigo/53#comment-59437</link>
		<author>Guillaume</author>
		<pubDate>Tue, 17 Jul 2007 07:11:43 +0000</pubDate>
		<guid>http://kennyw.com/indigo/53#comment-59437</guid>
		<description>Hello Kenny,

I'm trying to integrate ChunkingChannel with WsFederationHttpBinding.

Is it my stack:




     .......




But it fails. Is it possible to do what I would?

Thanks in advance</description>
		<content:encoded><![CDATA[<p>Hello Kenny,</p>
<p>I&#8217;m trying to integrate ChunkingChannel with WsFederationHttpBinding.</p>
<p>Is it my stack:</p>
<p>     &#8230;&#8230;.</p>
<p>But it fails. Is it possible to do what I would?</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kenny</title>
		<link>http://kennyw.com/indigo/53#comment-59203</link>
		<author>Kenny</author>
		<pubDate>Sun, 15 Jul 2007 21:54:50 +0000</pubDate>
		<guid>http://kennyw.com/indigo/53#comment-59203</guid>
		<description>In order to get duplex session from RM on top of HTTP you need to layer CompositeDuplex and OneWayBindingElement in between (see what WsDualHttpBinding generates for example). You can setup this binding stack for IDuplexSessionChannel over HTTP:
ReliableSessionBindingElement
CompositeDuplexBindingElement
OneWayBindingElement
TextMessageEncodingBindingElement
HttpTransportBindingElement</description>
		<content:encoded><![CDATA[<p>In order to get duplex session from RM on top of HTTP you need to layer CompositeDuplex and OneWayBindingElement in between (see what WsDualHttpBinding generates for example). You can setup this binding stack for IDuplexSessionChannel over HTTP:<br />
ReliableSessionBindingElement<br />
CompositeDuplexBindingElement<br />
OneWayBindingElement<br />
TextMessageEncodingBindingElement<br />
HttpTransportBindingElement</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://kennyw.com/indigo/53#comment-56069</link>
		<author>John</author>
		<pubDate>Wed, 27 Jun 2007 08:07:18 +0000</pubDate>
		<guid>http://kennyw.com/indigo/53#comment-56069</guid>
		<description>Hi Kenny.
I’m writing a custom HTTP binding. Would you know if the following channel stack yields an IDuplexSessionChannel shape? 
ReliableSessionBindingElement 
TextMessageEncodingBindingElement 
HttpTransportBindingElement 
I’m implementing a WsHTTP custom binding for the chunking sample, but it fails with when I add the ChunkingBindingElement to the top of the BindingElementCollection. The error is “'WsHttpChunkingBinding' doesn’t support creating any channel types”. The CanBuildChannelFactory and CanBuildChannelListener functions in ChunkingBindingElement always return false. I suspect the binding elements I have chosen for my test binding don’t support the IDuplexSessionChannel shape. I also get the same problem when I remove the ChunkingBindingElement and add a CompositeDuplexBindingElement element. Cheers.</description>
		<content:encoded><![CDATA[<p>Hi Kenny.<br />
I’m writing a custom HTTP binding. Would you know if the following channel stack yields an IDuplexSessionChannel shape?<br />
ReliableSessionBindingElement<br />
TextMessageEncodingBindingElement<br />
HttpTransportBindingElement<br />
I’m implementing a WsHTTP custom binding for the chunking sample, but it fails with when I add the ChunkingBindingElement to the top of the BindingElementCollection. The error is “&#8217;WsHttpChunkingBinding&#8217; doesn’t support creating any channel types”. The CanBuildChannelFactory and CanBuildChannelListener functions in ChunkingBindingElement always return false. I suspect the binding elements I have chosen for my test binding don’t support the IDuplexSessionChannel shape. I also get the same problem when I remove the ChunkingBindingElement and add a CompositeDuplexBindingElement element. Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kennyw.com &#187; Blog Archive &#187; Large Messages and WCF</title>
		<link>http://kennyw.com/indigo/53#comment-261</link>
		<author>kennyw.com &#187; Blog Archive &#187; Large Messages and WCF</author>
		<pubDate>Thu, 09 Feb 2006 04:15:48 +0000</pubDate>
		<guid>http://kennyw.com/indigo/53#comment-261</guid>
		<description>[...] Enable streaming on your binding (either through TransferMode.Streamed on a transport or by using chunking at the top of your binding stack) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Enable streaming on your binding (either through TransferMode.Streamed on a transport or by using chunking at the top of your binding stack) [&#8230;]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
