Send/Receive Data to server in C#
<p>In my programe I have a need for requesting data from server and upon collecting the response, use the returned data for further processing. </p>

<p>I am using "system.net.webrequest" class for the same. I have few questions on this:</p>

<ol>
<li>after I receive the data (data is of 0.5MB size in minimum) I have to process this entire data to derive some result. I was thinking to store the returned data in a "txt" file and then read the data from that file and process.</li>
</ol>

<p>Is this a better idea? If not, can you please suggest.</p>

<ol>
<li><p>I am making post request to several servers (>10 servers) and using data from them. I observed that for some reason if the server is not reachable then my programe stops throwing an exception</p>

<p>Server Not Reachable<br>
A first chance exception of type 'System.Net.WebException' occurred in System.dll</p></li>
</ol>

<p>How can I solve this problem? Any idea?</p>

<p>Appreaciate your help.</p>

<p>Thanks,
Rahul</p>
