<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Ideablade compression on a non-ideablade project</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Ideablade compression on a non-ideablade project</description>
  <pubDate>Wed, 15 Apr 2026 16:59:24 -700</pubDate>
  <lastBuildDate>Mon, 05 Mar 2012 17:22:51 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3316</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Ideablade compression on a non-ideablade project :   Hi Paolo,In theory you should...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3316&amp;PID=12897#12897</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3316<br /><strong>Posted:</strong> 05-Mar-2012 at 5:22pm<br /><br />Hi Paolo,<div>&nbsp;</div><div>In theory you should be able to use the compression with no issues.</div><div>&nbsp;</div><div>Be sure to add the IdeaBlade.Core assembly.</div><div>&nbsp;</div><div>To&nbsp;add&nbsp;binding&nbsp;programmatically,&nbsp;create the CustomBinding and use the Gzip binding element in place of the usual binding element: (<a href="http://social.msdn.microsoft.com/Forums/en/wcf/thread/2205b22c-b582-4771-a361-ee9b85fc0493" target="_blank">http://social.msdn.microsoft.com/Forums/en/wcf/thread/2205b22c-b582-4771-a361-ee9b85fc0493</a>)</div><div><br><em>var binding = new CustomBinding(new GZipMessageEncodingBindingElement(), new HttpTransportBindingElement());</em></div><div>&nbsp;</div><div>Or you could simply do it in your config file: (from one of our config file samples in the <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/code-sample-c&#111;nfigurati&#111;n-files" target="_blank">DevForce Resource Center</a>)</div><div>&nbsp;</div><div><em>&nbsp; &lt;system.serviceModel&gt;</em></div><div><em></em>&nbsp;</div><div><em>&nbsp;&nbsp;&nbsp; &lt;bindings&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;customBinding&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;binding name="compressedBinaryBinding"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; closeTimeout="00:01:00"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; openTimeout="00:01:00"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; receiveTimeout="00:10:00"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sendTimeout="00:01:00"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;gzipMessageEncoding&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;readerQuotas<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; maxDepth="2147483647"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; maxStringContentLength="2147483647"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; maxArrayLength="2147483647" /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/gzipMessageEncoding&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;httpTransport maxReceivedMessageSize="2147483647" /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/binding&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/customBinding&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/bindings&gt;</em></div><div><em>&nbsp;&nbsp;&nbsp; &lt;extensions&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;bindingElementExtensions&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;add name="gzipMessageEncoding"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type="IdeaBlade.Core.Wcf.Extensions.GZipMessageEncodingElement, IdeaBlade.Core"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/bindingElementExtensions&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/extensions&gt;<br>&nbsp; &lt;/system.serviceModel&gt;</em></div><div>&nbsp;</div><div>&nbsp;</div><div>Regards,</div><div>&nbsp;&nbsp; Silvio.</div>]]>
   </description>
   <pubDate>Mon, 05 Mar 2012 17:22:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3316&amp;PID=12897#12897</guid>
  </item> 
  <item>
   <title>Ideablade compression on a non-ideablade project : Hello,I&amp;#039;ve got a silverlight...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3316&amp;PID=12887#12887</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1136" rel="nofollow">pponzano</a><br /><strong>Subject:</strong> 3316<br /><strong>Posted:</strong> 05-Mar-2012 at 12:47am<br /><br />Hello,<br>I've got a silverlight 4 application that uses WCF services (not RIA) to fetch data... I would like to apply Gzip compression, it's possible to use <br><br>&nbsp;&nbsp; &lt;add name="gzipMessageEncoding" type="IdeaBlade.Core.Wcf.Extensions.GZipMessageEncodingElement, IdeaBlade.Core" /&gt;<br><br>just for compression itself?<br><br>what assembly should I reference?<br>Since I declare the proxy by codebehind (specifing CutomBinding and so on) how do I add a bindingelementexpression programmatically?<br><br>Thanks<br>]]>
   </description>
   <pubDate>Mon, 05 Mar 2012 00:47:02 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3316&amp;PID=12887#12887</guid>
  </item> 
 </channel>
</rss>