<?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 : Creating Bindings Dynamically</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Creating Bindings Dynamically</description>
  <pubDate>Sat, 11 Apr 2026 15:31:41 -700</pubDate>
  <lastBuildDate>Thu, 25 Mar 2010 15:01:04 -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=1691</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>Creating Bindings Dynamically : Hi Rasmus,  In DevForce 2010,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1691&amp;PID=6409#6409</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 1691<br /><strong>Posted:</strong> 25-Mar-2010 at 3:01pm<br /><br />Hi Rasmus,<DIV>&nbsp;</DIV><DIV>In DevForce 2010, we will have an extensibility point that will allow you to customize the WCF endpoint, but unfortunately this is not available in&nbsp;DevForce 2009.&nbsp; We will have a Release Candidate of DevForce 2010 (which supports .NET 4 &amp; Silverlight 4) available shortly after April 13th.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 25 Mar 2010 15:01:04 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1691&amp;PID=6409#6409</guid>
  </item> 
  <item>
   <title>Creating Bindings Dynamically : Hi  I have som additional info...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1691&amp;PID=6394#6394</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=551" rel="nofollow">rasmus</a><br /><strong>Subject:</strong> 1691<br /><strong>Posted:</strong> 22-Mar-2010 at 3:16pm<br /><br />Hi<DIV>&nbsp;</DIV><DIV>I have som additional info to this post. When the call to the EntityServer is performed, the result (if the query is big enough) is this:</DIV><DIV>&nbsp;</DIV><DIV><img src="http://www.ideablade.com/forum/uploads/551/timeout.png" height="619" width="499" border="0" /></DIV><DIV>&nbsp;</DIV><DIV><FONT color=#0000ff size=2><FONT color=#0000ff size=2><FONT color=#000000>The binding on the server for the EntityService&nbsp;is configured like this:</FONT></FONT></FONT></DIV><DIV><FONT color=#0000ff size=2><FONT color=#0000ff size=2>&lt;</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>binding</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2> </FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>name</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>=</FONT></FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>customBinaryBinding</FONT></FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2> </FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>receiveTimeout</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>=</FONT></FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>00:10:00</FONT></FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2> </FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>sendTimeout</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>=</FONT></FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>00:10:00</FONT></FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2> </FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>closeTimeout</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>=</FONT></FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>00:10:00</FONT></FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2> </FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>openTimeout</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>=</FONT></FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>00:10:00</FONT></FONT><FONT size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>&gt;<FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>&lt;</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>binaryMessageEncoding</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>&gt;</P><P>&lt;</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>readerQuotas</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2> </FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>maxDepth</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>=</FONT></FONT><FONT color=#000000 size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>2147483647</FONT></FONT><FONT color=#000000 size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2> </FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>maxStringContentLength</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>=</FONT></FONT><FONT color=#000000 size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>2147483647</FONT></FONT><FONT color=#000000 size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2> </FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>maxArrayLength</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>=</FONT></FONT><FONT color=#000000 size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>2147483647</FONT></FONT><FONT color=#000000 size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2> /&gt;</P><P>&lt;/</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>binaryMessageEncoding</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>&gt;</P><P>&lt;</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>httpTransport</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2> </FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>maxReceivedMessageSize</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>=</FONT></FONT><FONT color=#000000 size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>2147483647</FONT></FONT><FONT color=#000000 size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2> </FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>maxBufferSize</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>=</FONT></FONT><FONT color=#000000 size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>2147483647</FONT></FONT><FONT color=#000000 size=2>"</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2> /&gt;</P><P>&lt;/</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>binding</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>&gt;</P><DIV>&nbsp;</DIV><DIV><FONT color=#000000>The way I see it, what I need is to configure the client to accept 10 minute queries as well. Can anyone help me on this?</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>Best Regards,</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>Rasmus</FONT></FONT></FONT></FONT></FONT></DIV></DIV>]]>
   </description>
   <pubDate>Mon, 22 Mar 2010 15:16:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1691&amp;PID=6394#6394</guid>
  </item> 
  <item>
   <title>Creating Bindings Dynamically : Hi  When calling a WCF service...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1691&amp;PID=6381#6381</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=551" rel="nofollow">rasmus</a><br /><strong>Subject:</strong> 1691<br /><strong>Posted:</strong> 17-Mar-2010 at 2:33pm<br /><br />Hi<DIV>&nbsp;</DIV><DIV>When calling a WCF service I am able to dynamically create a binding and attach the binding to the WCF proxy, like this:</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#2b91af size=2 face=C&#111;nsolas>&nbsp;</FONT><P>CustomBinding<FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> binding = </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>new</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>CustomBinding()</P><DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P>//set binding properties</P><DIV><FONT color=#000000>binding.xxx = xxx</FONT></DIV><DIV><FONT color=#000000>....</FONT></DIV><DIV>&nbsp;</DIV><DIV></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV></DIV><DIV><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ServiceClient</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> proxy = </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>new</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ServiceClient</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>(binding, endPoint);</DIV></DIV></FONT></FONT><DIV><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><DIV>&nbsp;</DIV><DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas></FONT></FONT>&nbsp;</DIV><DIV><FONT color=#000000>Can you tell me&nbsp;how to attach a dynamically created binding when querying the Devforce server from the silverlight app?</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>I know it is possible to set this from the ServiceReferences.ClientConfig file, but I need to do this from code.</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>Thank you for your help</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>Best Regards,</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>Rasmus</FONT></DIV></FONT></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Wed, 17 Mar 2010 14:33:23 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1691&amp;PID=6381#6381</guid>
  </item> 
 </channel>
</rss>