<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for Csharp Code Samples</title>
	
	<link>http://csharp-codesamples.com</link>
	<description>C# .NET Programming Blog</description>
	<lastBuildDate>Tue, 31 Jan 2012 09:03:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/CsharpCodeSamplesComments" /><feedburner:info uri="csharpcodesamplescomments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on Efficient Server Side Paging Alternatives by martin</title>
		<link>http://feedproxy.google.com/~r/CsharpCodeSamplesComments/~3/eifHawdOafg/</link>
		<dc:creator>martin</dc:creator>
		<pubDate>Tue, 31 Jan 2012 09:03:46 +0000</pubDate>
		<guid isPermaLink="false">http://csharp-codesamples.com/?p=320#comment-457</guid>
		<description>Thanks for the.article gave.a good insight into a very common and practical problem</description>
		<content:encoded><![CDATA[<p>Thanks for the.article gave.a good insight into a very common and practical problem</p>

<p><a href="http://feedads.g.doubleclick.net/~a/lhpzqf_ytCB3YMVAvW6VFgJzz6w/0/da"><img src="http://feedads.g.doubleclick.net/~a/lhpzqf_ytCB3YMVAvW6VFgJzz6w/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/lhpzqf_ytCB3YMVAvW6VFgJzz6w/1/da"><img src="http://feedads.g.doubleclick.net/~a/lhpzqf_ytCB3YMVAvW6VFgJzz6w/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/CsharpCodeSamplesComments/~4/eifHawdOafg" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://csharp-codesamples.com/2009/04/efficient-server-side-paging-alternatives/#comment-457</feedburner:origLink></item>
	<item>
		<title>Comment on Data Transfer Using Self Hosted WCF Service by srinivas</title>
		<link>http://feedproxy.google.com/~r/CsharpCodeSamplesComments/~3/0prt2iul8Hg/</link>
		<dc:creator>srinivas</dc:creator>
		<pubDate>Thu, 19 Jan 2012 07:14:12 +0000</pubDate>
		<guid isPermaLink="false">http://csharp-codesamples.com/2009/02/data-transfer-using-self-hosted-wcf-service/#comment-455</guid>
		<description>hi
 i created two wcf application programs, so in 1st wcf application program in that have provided the some textboxes and i give the values .. and 2nd wcf application program in that have provided the some textboxes but here i didn't give any data.  so what is my point is that  in 1st appliation whatever i will give/provide the data in that textboxes automaticaly data to be transfer from 2nd application provided the textboxes must be enter... how can you guide me ..if you have code send me..</description>
		<content:encoded><![CDATA[<p>hi<br />
 i created two wcf application programs, so in 1st wcf application program in that have provided the some textboxes and i give the values .. and 2nd wcf application program in that have provided the some textboxes but here i didn&#8217;t give any data.  so what is my point is that  in 1st appliation whatever i will give/provide the data in that textboxes automaticaly data to be transfer from 2nd application provided the textboxes must be enter&#8230; how can you guide me ..if you have code send me..</p>

<p><a href="http://feedads.g.doubleclick.net/~a/EwAAxhRCjpD_-OBi03SnKMRXLfM/0/da"><img src="http://feedads.g.doubleclick.net/~a/EwAAxhRCjpD_-OBi03SnKMRXLfM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/EwAAxhRCjpD_-OBi03SnKMRXLfM/1/da"><img src="http://feedads.g.doubleclick.net/~a/EwAAxhRCjpD_-OBi03SnKMRXLfM/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/CsharpCodeSamplesComments/~4/0prt2iul8Hg" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://csharp-codesamples.com/2009/02/data-transfer-using-self-hosted-wcf-service/#comment-455</feedburner:origLink></item>
	<item>
		<title>Comment on Data Transfer Using Self Hosted WCF Service by krishna</title>
		<link>http://feedproxy.google.com/~r/CsharpCodeSamplesComments/~3/mQMLK8yPhxk/</link>
		<dc:creator>krishna</dc:creator>
		<pubDate>Tue, 22 Nov 2011 11:35:41 +0000</pubDate>
		<guid isPermaLink="false">http://csharp-codesamples.com/2009/02/data-transfer-using-self-hosted-wcf-service/#comment-449</guid>
		<description>Hi All,
 I got the below exception i m trying to reading more than 713Kb.....
App.config
-----------------------------------------------------------
 

                    
        
      
-----------------------------------------------------------
web.config
-------------------------------------------------

 
     
     
           
      
      
     
    
   
------------------------------------------------
The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:SelectPatientsByParametersResult. The InnerException message was 'Maximum number of items that can be serialized or deserialized in an object graph is '65536'. Change the object graph or increase the MaxItemsInObjectGraph quota. '.  Please see InnerException for more details.


please help me....m trying from 0ne day but not resolved please advice me.....

Rgds,
krishna</description>
		<content:encoded><![CDATA[<p>Hi All,<br />
 I got the below exception i m trying to reading more than 713Kb&#8230;..<br />
App.config<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
web.config<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter <a href="http://tempuri.org/:SelectPatientsByParametersResult" rel="nofollow">http://tempuri.org/:SelectPatientsByParametersResult</a>. The InnerException message was &#8216;Maximum number of items that can be serialized or deserialized in an object graph is &#8217;65536&#8242;. Change the object graph or increase the MaxItemsInObjectGraph quota. &#8216;.  Please see InnerException for more details.</p>
<p>please help me&#8230;.m trying from 0ne day but not resolved please advice me&#8230;..</p>
<p>Rgds,<br />
krishna</p>

<p><a href="http://feedads.g.doubleclick.net/~a/BTpsCmXOO3w6RnbD65lBYRPRKkM/0/da"><img src="http://feedads.g.doubleclick.net/~a/BTpsCmXOO3w6RnbD65lBYRPRKkM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/BTpsCmXOO3w6RnbD65lBYRPRKkM/1/da"><img src="http://feedads.g.doubleclick.net/~a/BTpsCmXOO3w6RnbD65lBYRPRKkM/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/CsharpCodeSamplesComments/~4/mQMLK8yPhxk" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://csharp-codesamples.com/2009/02/data-transfer-using-self-hosted-wcf-service/#comment-449</feedburner:origLink></item>
	<item>
		<title>Comment on Data Transfer Using Self Hosted WCF Service by Shahi</title>
		<link>http://feedproxy.google.com/~r/CsharpCodeSamplesComments/~3/2SkSdp3Y1uw/</link>
		<dc:creator>Shahi</dc:creator>
		<pubDate>Wed, 02 Nov 2011 06:27:19 +0000</pubDate>
		<guid isPermaLink="false">http://csharp-codesamples.com/2009/02/data-transfer-using-self-hosted-wcf-service/#comment-445</guid>
		<description>Hi everyone. first i should appreciate who post the sample program for wcf testing.i have run the program, there is no problem with the program. the thing that you should consider it, it is:

1) first run StreamingServer (right click on it and choose debug and start new instance)

2) without stopping the the running , go to Solution explorer and do same for StreamingClient.

finally you will see the output that it is stored in driver where you mentioned in code.

Good Luck</description>
		<content:encoded><![CDATA[<p>Hi everyone. first i should appreciate who post the sample program for wcf testing.i have run the program, there is no problem with the program. the thing that you should consider it, it is:</p>
<p>1) first run StreamingServer (right click on it and choose debug and start new instance)</p>
<p>2) without stopping the the running , go to Solution explorer and do same for StreamingClient.</p>
<p>finally you will see the output that it is stored in driver where you mentioned in code.</p>
<p>Good Luck</p>

<p><a href="http://feedads.g.doubleclick.net/~a/sZ417C0Fwd7T0_m8q7plUf_qhP8/0/da"><img src="http://feedads.g.doubleclick.net/~a/sZ417C0Fwd7T0_m8q7plUf_qhP8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/sZ417C0Fwd7T0_m8q7plUf_qhP8/1/da"><img src="http://feedads.g.doubleclick.net/~a/sZ417C0Fwd7T0_m8q7plUf_qhP8/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/CsharpCodeSamplesComments/~4/2SkSdp3Y1uw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://csharp-codesamples.com/2009/02/data-transfer-using-self-hosted-wcf-service/#comment-445</feedburner:origLink></item>
	<item>
		<title>Comment on Data Transfer Using Self Hosted WCF Service by Rohan Warang</title>
		<link>http://feedproxy.google.com/~r/CsharpCodeSamplesComments/~3/XT5Ruk4rSo8/</link>
		<dc:creator>Rohan Warang</dc:creator>
		<pubDate>Tue, 27 Sep 2011 19:20:36 +0000</pubDate>
		<guid isPermaLink="false">http://csharp-codesamples.com/2009/02/data-transfer-using-self-hosted-wcf-service/#comment-442</guid>
		<description>Hi @raju,

The sample works in either case all you have to do is configure your server's end point address to your network machines ip address and ensure the port you are using is not blocked.

Thanks,
Rohan</description>
		<content:encoded><![CDATA[<p>Hi @raju,</p>
<p>The sample works in either case all you have to do is configure your server&#8217;s end point address to your network machines ip address and ensure the port you are using is not blocked.</p>
<p>Thanks,<br />
Rohan</p>

<p><a href="http://feedads.g.doubleclick.net/~a/rV3OrzK2BzxFfxdwgMf-_m80rFo/0/da"><img src="http://feedads.g.doubleclick.net/~a/rV3OrzK2BzxFfxdwgMf-_m80rFo/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/rV3OrzK2BzxFfxdwgMf-_m80rFo/1/da"><img src="http://feedads.g.doubleclick.net/~a/rV3OrzK2BzxFfxdwgMf-_m80rFo/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/CsharpCodeSamplesComments/~4/XT5Ruk4rSo8" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://csharp-codesamples.com/2009/02/data-transfer-using-self-hosted-wcf-service/#comment-442</feedburner:origLink></item>
	<item>
		<title>Comment on Data Transfer Using Self Hosted WCF Service by raju</title>
		<link>http://feedproxy.google.com/~r/CsharpCodeSamplesComments/~3/IWkyhCK6cYQ/</link>
		<dc:creator>raju</dc:creator>
		<pubDate>Tue, 27 Sep 2011 14:10:50 +0000</pubDate>
		<guid isPermaLink="false">http://csharp-codesamples.com/2009/02/data-transfer-using-self-hosted-wcf-service/#comment-441</guid>
		<description>Hi,nice article. I transfer file on same pc as work host and client but  I want to transfer file with two different network pc.

Thanks
Raju</description>
		<content:encoded><![CDATA[<p>Hi,nice article. I transfer file on same pc as work host and client but  I want to transfer file with two different network pc.</p>
<p>Thanks<br />
Raju</p>

<p><a href="http://feedads.g.doubleclick.net/~a/arBldJw4o7bzeESIalYuN6ObWMI/0/da"><img src="http://feedads.g.doubleclick.net/~a/arBldJw4o7bzeESIalYuN6ObWMI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/arBldJw4o7bzeESIalYuN6ObWMI/1/da"><img src="http://feedads.g.doubleclick.net/~a/arBldJw4o7bzeESIalYuN6ObWMI/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/CsharpCodeSamplesComments/~4/IWkyhCK6cYQ" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://csharp-codesamples.com/2009/02/data-transfer-using-self-hosted-wcf-service/#comment-441</feedburner:origLink></item>
	<item>
		<title>Comment on Threading On Multi-Core CPUs by jvahue</title>
		<link>http://feedproxy.google.com/~r/CsharpCodeSamplesComments/~3/qfV-1E83Sow/</link>
		<dc:creator>jvahue</dc:creator>
		<pubDate>Mon, 07 Mar 2011 00:50:52 +0000</pubDate>
		<guid isPermaLink="false">http://csharp-codesamples.com/2009/03/threading-on-multi-core-cpus/#comment-373</guid>
		<description>This is a nice proof that multicore processors can execute code at the same time in each core (I'm not sure exactly how that handle slicing external bus activity as there is still only one memory for all cores, I'm assuming in this example the code fits into cache so this may not matter.)  However as pointed out the example shows execution of totally independent threads, and in real life this is generally not the case, all threads tend to act in unison for a single cause.  That said it does not mean there are not instances where this independence does not exists and for those applications this is a useful study. But I would also suggest that if you want to know how your application performs you should be able to easily vary your "worker" thread count to find the best number for your application.  For example if your applications fetches web pages for data you may want a how bunch of threads as most of the time each thread will be waiting for the web to respond, but if you're crunching numbers you may want to split that into a thread count equal to the number of cores.</description>
		<content:encoded><![CDATA[<p>This is a nice proof that multicore processors can execute code at the same time in each core (I&#8217;m not sure exactly how that handle slicing external bus activity as there is still only one memory for all cores, I&#8217;m assuming in this example the code fits into cache so this may not matter.)  However as pointed out the example shows execution of totally independent threads, and in real life this is generally not the case, all threads tend to act in unison for a single cause.  That said it does not mean there are not instances where this independence does not exists and for those applications this is a useful study. But I would also suggest that if you want to know how your application performs you should be able to easily vary your &#8220;worker&#8221; thread count to find the best number for your application.  For example if your applications fetches web pages for data you may want a how bunch of threads as most of the time each thread will be waiting for the web to respond, but if you&#8217;re crunching numbers you may want to split that into a thread count equal to the number of cores.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/rzHI8LXddPGPHNqyyfQl62sPiL0/0/da"><img src="http://feedads.g.doubleclick.net/~a/rzHI8LXddPGPHNqyyfQl62sPiL0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/rzHI8LXddPGPHNqyyfQl62sPiL0/1/da"><img src="http://feedads.g.doubleclick.net/~a/rzHI8LXddPGPHNqyyfQl62sPiL0/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/CsharpCodeSamplesComments/~4/qfV-1E83Sow" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://csharp-codesamples.com/2009/03/threading-on-multi-core-cpus/#comment-373</feedburner:origLink></item>
	<item>
		<title>Comment on Data Transfer Using Self Hosted WCF Service by Kimi</title>
		<link>http://feedproxy.google.com/~r/CsharpCodeSamplesComments/~3/AoLzJfuzfUs/</link>
		<dc:creator>Kimi</dc:creator>
		<pubDate>Mon, 07 Feb 2011 19:28:15 +0000</pubDate>
		<guid isPermaLink="false">http://csharp-codesamples.com/2009/02/data-transfer-using-self-hosted-wcf-service/#comment-371</guid>
		<description>Hi, I have a quick question.

I converted this code to VB.NET and I have a problem.

I'm able to connect the client to server and call the method Upload but on the server side the "data" file in Upload method is always 0...

I debugged the client side and I'm sure I always send Stream that is not zero in length.

Do you have any idea as to why that might be?</description>
		<content:encoded><![CDATA[<p>Hi, I have a quick question.</p>
<p>I converted this code to VB.NET and I have a problem.</p>
<p>I&#8217;m able to connect the client to server and call the method Upload but on the server side the &#8220;data&#8221; file in Upload method is always 0&#8230;</p>
<p>I debugged the client side and I&#8217;m sure I always send Stream that is not zero in length.</p>
<p>Do you have any idea as to why that might be?</p>

<p><a href="http://feedads.g.doubleclick.net/~a/uDUya6-uo5ZOG7TwioUd8FenVkQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/uDUya6-uo5ZOG7TwioUd8FenVkQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/uDUya6-uo5ZOG7TwioUd8FenVkQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/uDUya6-uo5ZOG7TwioUd8FenVkQ/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/CsharpCodeSamplesComments/~4/AoLzJfuzfUs" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://csharp-codesamples.com/2009/02/data-transfer-using-self-hosted-wcf-service/#comment-371</feedburner:origLink></item>
	<item>
		<title>Comment on Nhibernate Parent Child Relations by My Blog</title>
		<link>http://feedproxy.google.com/~r/CsharpCodeSamplesComments/~3/PeQ0OdomgPw/</link>
		<dc:creator>My Blog</dc:creator>
		<pubDate>Sun, 30 Jan 2011 02:23:17 +0000</pubDate>
		<guid isPermaLink="false">http://csharp-codesamples.com/?p=504#comment-369</guid>
		<description>&lt;strong&gt;Great Post…...&lt;/strong&gt;

Excellent share it is without doubt. My girlfriend has been awaiting for this info. There is another excellent article on the subject Visit This to read it. I have bookmarked it to ensure others will be able to read it, as well…....</description>
		<content:encoded><![CDATA[<p><strong>Great Post…&#8230;</strong></p>
<p>Excellent share it is without doubt. My girlfriend has been awaiting for this info. There is another excellent article on the subject Visit This to read it. I have bookmarked it to ensure others will be able to read it, as well…&#8230;.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/FANAOa79fk5MNz5c13AYS3e1UC0/0/da"><img src="http://feedads.g.doubleclick.net/~a/FANAOa79fk5MNz5c13AYS3e1UC0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/FANAOa79fk5MNz5c13AYS3e1UC0/1/da"><img src="http://feedads.g.doubleclick.net/~a/FANAOa79fk5MNz5c13AYS3e1UC0/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/CsharpCodeSamplesComments/~4/PeQ0OdomgPw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://csharp-codesamples.com/2009/08/nhibernate-parent-child-relations/#comment-369</feedburner:origLink></item>
	<item>
		<title>Comment on Nhibernate Parent Child Relations by bidcactus - what is it ?</title>
		<link>http://feedproxy.google.com/~r/CsharpCodeSamplesComments/~3/E_TpQgk174E/</link>
		<dc:creator>bidcactus - what is it ?</dc:creator>
		<pubDate>Wed, 19 Jan 2011 14:42:52 +0000</pubDate>
		<guid isPermaLink="false">http://csharp-codesamples.com/?p=504#comment-368</guid>
		<description>&lt;strong&gt;bidcactus...&lt;/strong&gt;

Good post once again!...</description>
		<content:encoded><![CDATA[<p><strong>bidcactus&#8230;</strong></p>
<p>Good post once again!&#8230;</p>

<p><a href="http://feedads.g.doubleclick.net/~a/rxmHBdujnxUyP_pK_qr3PtzQrDw/0/da"><img src="http://feedads.g.doubleclick.net/~a/rxmHBdujnxUyP_pK_qr3PtzQrDw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/rxmHBdujnxUyP_pK_qr3PtzQrDw/1/da"><img src="http://feedads.g.doubleclick.net/~a/rxmHBdujnxUyP_pK_qr3PtzQrDw/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/CsharpCodeSamplesComments/~4/E_TpQgk174E" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://csharp-codesamples.com/2009/08/nhibernate-parent-child-relations/#comment-368</feedburner:origLink></item>
</channel>
</rss><!-- Dynamic page generated in 0.462 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-01-31 22:17:30 -->

