<?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: WCF And Large Amounts Of Data</title> <atom:link href="http://davybrion.com/blog/2008/09/wcf-and-large-amounts-of-data/feed/" rel="self" type="application/rss+xml" /><link>http://davybrion.com/blog/2008/09/wcf-and-large-amounts-of-data/</link> <description>inquisitive: adjective. given to inquiry, research, or asking questions; eager for knowledge; intellectually curious</description> <lastBuildDate>Wed, 08 Feb 2012 11:42:42 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Aajay78</title><link>http://davybrion.com/blog/2008/09/wcf-and-large-amounts-of-data/comment-page-1/#comment-104559</link> <dc:creator>Aajay78</dc:creator> <pubDate>Sun, 22 Jan 2012 04:05:00 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=400#comment-104559</guid> <description>does not make sense and it is not wokring</description> <content:encoded><![CDATA[<p>does not make sense and it is not wokring</p> ]]></content:encoded> </item> <item><title>By: Davy Brion</title><link>http://davybrion.com/blog/2008/09/wcf-and-large-amounts-of-data/comment-page-1/#comment-99215</link> <dc:creator>Davy Brion</dc:creator> <pubDate>Wed, 04 May 2011 07:52:00 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=400#comment-99215</guid> <description>Hi Simon,glad to hear your problem is fixed :)for future reference: you&#039;re better off asking your questions on the official agatha google groups list: http://groups.google.com/group/agatha-rrsl/That way other people might answer when i&#039;m not available, and every answer can be indexed by google or referred to later on ;)</description> <content:encoded><![CDATA[<p>Hi Simon,</p><p>glad to hear your problem is fixed <img
src='http://d18sni7re4ly7f.cloudfront.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>for future reference: you&#8217;re better off asking your questions on the official agatha google groups list: <a
href="http://groups.google.com/group/agatha-rrsl/" rel="nofollow">http://groups.google.com/group/agatha-rrsl/</a></p><p>That way other people might answer when i&#8217;m not available, and every answer can be indexed by google or referred to later on <img
src='http://d18sni7re4ly7f.cloudfront.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Simon Brangwin</title><link>http://davybrion.com/blog/2008/09/wcf-and-large-amounts-of-data/comment-page-1/#comment-99213</link> <dc:creator>Simon Brangwin</dc:creator> <pubDate>Wed, 04 May 2011 05:31:00 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=400#comment-99213</guid> <description>Hey Davy,
We&#039;ve figured it out. We were hooking the Opening event on the service host and doing the ComponentRegistration in there. By the time it raises that event though Agatha has already tried to deserialize types.
What we should be doing is calling the component registration in the CreateServiceHost method itself before even creating the service host! After making this change it works as expected :)</description> <content:encoded><![CDATA[<p>Hey Davy,<br
/> We&#8217;ve figured it out. We were hooking the Opening event on the service host and doing the ComponentRegistration in there. By the time it raises that event though Agatha has already tried to deserialize types.<br
/> What we should be doing is calling the component registration in the CreateServiceHost method itself before even creating the service host! After making this change it works as expected <img
src='http://d18sni7re4ly7f.cloudfront.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Simon Brangwin</title><link>http://davybrion.com/blog/2008/09/wcf-and-large-amounts-of-data/comment-page-1/#comment-99212</link> <dc:creator>Simon Brangwin</dc:creator> <pubDate>Wed, 04 May 2011 03:11:00 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=400#comment-99212</guid> <description>Davy, my component registration method is as follows. It definitely gets called before anything else, but by the time Agatha tries to deserialize something, it seems to have lost its config. The interesting thing is that it works ok if I set the projects to Start and run it in the VS debbuger.public static void Register()
{
var agathaConfig = new ServiceLayerConfiguration(typeof(Agatha.Unity.Container));
agathaConfig.AddRequestHandlerAssembly(Assembly.GetExecutingAssembly());
agathaConfig.AddRequestAndResponseAssembly(typeof(GetClaimRequest).Assembly);
agathaConfig.AddRequestAndResponseAssembly(typeof(DischargeCertificateReceivedCommand).Assembly);
agathaConfig.Initialize(); </description> <content:encoded><![CDATA[<p>Davy, my component registration method is as follows. It definitely gets called before anything else, but by the time Agatha tries to deserialize something, it seems to have lost its config. The interesting thing is that it works ok if I set the projects to Start and run it in the VS debbuger.</p><p> public static void Register()<br
/> {<br
/> var agathaConfig = new ServiceLayerConfiguration(typeof(Agatha.Unity.Container));<br
/> agathaConfig.AddRequestHandlerAssembly(Assembly.GetExecutingAssembly());<br
/> agathaConfig.AddRequestAndResponseAssembly(typeof(GetClaimRequest).Assembly);<br
/> agathaConfig.AddRequestAndResponseAssembly(typeof(DischargeCertificateReceivedCommand).Assembly);<br
/> agathaConfig.Initialize();</p> ]]></content:encoded> </item> <item><title>By: Simon Brangwin</title><link>http://davybrion.com/blog/2008/09/wcf-and-large-amounts-of-data/comment-page-1/#comment-99211</link> <dc:creator>Simon Brangwin</dc:creator> <pubDate>Tue, 03 May 2011 23:46:00 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=400#comment-99211</guid> <description>Hi Davy,Thanks for your excellent request/response service layer.We are having a problem when using the net.tcp binding and hosting with WAS. How do you normally go about registering the Request and Response assemblies. When hosting in an ASP.NET application using an http binding under IIS, we would normally call AddRequestAndResponseAssembly methods via the Global.asax. Unfortunately this doesn&#039;t get called when running under WAS.I&#039;ve attempted to create a custom ServiceHostFactory and subscribe to the Host.Opening event to do the registration. It seems to work and calls my ComponentRegistration.Register() method, however when Agatha tries to deserialize a request from my client, it complains about unknown types. It&#039;s like the ComponentRegistration hasn&#039;t worked.</description> <content:encoded><![CDATA[<p>Hi Davy,</p><p>Thanks for your excellent request/response service layer.</p><p>We are having a problem when using the net.tcp binding and hosting with WAS. How do you normally go about registering the Request and Response assemblies. When hosting in an ASP.NET application using an http binding under IIS, we would normally call AddRequestAndResponseAssembly methods via the Global.asax. Unfortunately this doesn&#8217;t get called when running under WAS.</p><p>I&#8217;ve attempted to create a custom ServiceHostFactory and subscribe to the Host.Opening event to do the registration. It seems to work and calls my ComponentRegistration.Register() method, however when Agatha tries to deserialize a request from my client, it complains about unknown types. It&#8217;s like the ComponentRegistration hasn&#8217;t worked.</p> ]]></content:encoded> </item> <item><title>By: DannyT</title><link>http://davybrion.com/blog/2008/09/wcf-and-large-amounts-of-data/comment-page-1/#comment-77146</link> <dc:creator>DannyT</dc:creator> <pubDate>Sun, 28 Nov 2010 16:24:43 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=400#comment-77146</guid> <description>Cool, thanks for replying always nice to have a bit of reassurance!For the benefit of future searchers that land here with a similar scenario, I am also considering getting the server to generate the initial state of the database and then it becomes just a regular file download. This then means the settings in wcf that I&#039;ve just maxed out become more relevant again rather than being set to highest for the sake of one initial transaction.</description> <content:encoded><![CDATA[<p>Cool, thanks for replying always nice to have a bit of reassurance!</p><p>For the benefit of future searchers that land here with a similar scenario, I am also considering getting the server to generate the initial state of the database and then it becomes just a regular file download. This then means the settings in wcf that I&#8217;ve just maxed out become more relevant again rather than being set to highest for the sake of one initial transaction.</p> ]]></content:encoded> </item> <item><title>By: Davy Brion</title><link>http://davybrion.com/blog/2008/09/wcf-and-large-amounts-of-data/comment-page-1/#comment-77129</link> <dc:creator>Davy Brion</dc:creator> <pubDate>Sun, 28 Nov 2010 15:05:06 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=400#comment-77129</guid> <description>@DannyTwell, if you&#039;re doing it to implement some synching-features, then there&#039;s nothing wrong with itmy comments was targeted to devs who sometimes send a _lot_ more data over the wire than they should for regular service calls ;)</description> <content:encoded><![CDATA[<p>@DannyT</p><p>well, if you&#8217;re doing it to implement some synching-features, then there&#8217;s nothing wrong with it</p><p>my comments was targeted to devs who sometimes send a _lot_ more data over the wire than they should for regular service calls <img
src='http://d18sni7re4ly7f.cloudfront.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: DannyT</title><link>http://davybrion.com/blog/2008/09/wcf-and-large-amounts-of-data/comment-page-1/#comment-76682</link> <dc:creator>DannyT</dc:creator> <pubDate>Fri, 26 Nov 2010 15:28:05 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=400#comment-76682</guid> <description>Sorry to comment on such an old post but it is on top of google for &quot;sending large amounts of data with wcf&quot; unsurprisingly ;)Our scenario is that we are using WCF to keep multiple clients in sync with a server-side datastore. Now when a new client is added we need to sync all of the data and from then on just offer incremental updates. This initial sync has led to our finding the above mentioned configuration within WCF (which I believe should be the default with recommendation to reduce - but that&#039;s another discussion). Your last sentance: &quot;Being able to send your entire database over the wire doesn’t mean it’s a good idea to actually do so ;)&quot; intrigued me to asking what you would suggest instead as this is essentially what we&#039;re doing for new systems?</description> <content:encoded><![CDATA[<p>Sorry to comment on such an old post but it is on top of google for &#8220;sending large amounts of data with wcf&#8221; unsurprisingly <img
src='http://d18sni7re4ly7f.cloudfront.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><p>Our scenario is that we are using WCF to keep multiple clients in sync with a server-side datastore. Now when a new client is added we need to sync all of the data and from then on just offer incremental updates. This initial sync has led to our finding the above mentioned configuration within WCF (which I believe should be the default with recommendation to reduce &#8211; but that&#8217;s another discussion). Your last sentance: &#8220;Being able to send your entire database over the wire doesn’t mean it’s a good idea to actually do so <img
src='http://d18sni7re4ly7f.cloudfront.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> &#8221; intrigued me to asking what you would suggest instead as this is essentially what we&#8217;re doing for new systems?</p> ]]></content:encoded> </item> <item><title>By: Davy Brion</title><link>http://davybrion.com/blog/2008/09/wcf-and-large-amounts-of-data/comment-page-1/#comment-48520</link> <dc:creator>Davy Brion</dc:creator> <pubDate>Wed, 21 Jul 2010 18:23:57 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=400#comment-48520</guid> <description>@Hariif you&#039;re hosting through IIS, make sure you enable large uploads in your web.config:
http://weblogs.asp.net/jgalloway/archive/2008/01/08/large-file-uploads-in-asp-net.aspx</description> <content:encoded><![CDATA[<p>@Hari</p><p>if you&#8217;re hosting through IIS, make sure you enable large uploads in your web.config:<br
/> <a
href="http://weblogs.asp.net/jgalloway/archive/2008/01/08/large-file-uploads-in-asp-net.aspx" rel="nofollow">http://weblogs.asp.net/jgalloway/archive/2008/01/08/large-file-uploads-in-asp-net.aspx</a></p> ]]></content:encoded> </item> <item><title>By: Hari</title><link>http://davybrion.com/blog/2008/09/wcf-and-large-amounts-of-data/comment-page-1/#comment-48475</link> <dc:creator>Hari</dc:creator> <pubDate>Wed, 21 Jul 2010 15:12:43 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=400#comment-48475</guid> <description>How do I send large amounts of data TO the WCF? I get a Bad request exception when I try to do so.</description> <content:encoded><![CDATA[<p>How do I send large amounts of data TO the WCF? I get a Bad request exception when I try to do so.</p> ]]></content:encoded> </item> <item><title>By: Jon</title><link>http://davybrion.com/blog/2008/09/wcf-and-large-amounts-of-data/comment-page-1/#comment-41003</link> <dc:creator>Jon</dc:creator> <pubDate>Thu, 03 Jun 2010 10:49:06 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=400#comment-41003</guid> <description>Thanks a lot :)
The info regarding maxItemsInObjectGraph solved a problem that i have spent at lot of time pursuing until now!</description> <content:encoded><![CDATA[<p>Thanks a lot <img
src='http://d18sni7re4ly7f.cloudfront.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br
/> The info regarding maxItemsInObjectGraph solved a problem that i have spent at lot of time pursuing until now!</p> ]]></content:encoded> </item> <item><title>By: Dew Drop - September 14, 2008 &#124; Alvin Ashcraft's Morning Dew</title><link>http://davybrion.com/blog/2008/09/wcf-and-large-amounts-of-data/comment-page-1/#comment-2138</link> <dc:creator>Dew Drop - September 14, 2008 &#124; Alvin Ashcraft's Morning Dew</dc:creator> <pubDate>Sun, 14 Sep 2008 13:38:18 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=400#comment-2138</guid> <description>[...] WCF and Large Amounts of Data (Davy Brion) [...]</description> <content:encoded><![CDATA[<p>[...] WCF and Large Amounts of Data (Davy Brion) [...]</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 3/17 queries in 0.008 seconds using disk: basic
Object Caching 529/532 objects using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: d18sni7re4ly7f.cloudfront.net

Served from: davybrion.com @ 2012-02-08 18:03:52 -->
