Click here to Skip to main content
15,905,877 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,

How to read the posted data using WCF.

A flat file will be posted and available in a particular URL. I need to read the data from the flat file which has been posted. Can any one help me to find the solution?

Thanks
Santhosh
Posted
Comments
Mark Salsbery 30-May-11 12:21pm    
If the file is at a known URL, can't you just use something simple like a HttpWebRequest?

WCF involves a contract between endpoints. With WCF, your server end would need to read the file from the URL and stream it to clients. But if the URL is directly accessible from clients then a HttpWebRequest is much simpler...

1 solution

Hi,

Try using google with the same subject you posted, top result will be the answer in your scenario.

HERE[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900