I am a little confused about streaming with WebClient (WC)
- Data is available and I start
WC.OpenWriteAsync(Uri)on Silverlight side. WORKS- Data comes to my server and I can read data to my harddisc by reading the stream using
context.Request.InputStream. WORKS- Modified Data is uploading from Server by using
Context.Response.OutputStreamWORKS- How to get this stream now in my Silverlight App?
WC in Silverlight side does not server any stream information of new data. I cannot download data from sever. If I start again with WC.OpenReadAsync(Uri) the WC does start a new request but does not download the data from server.
Regards
It is a rather bizare design choice to that
WebClient. Its bizare because, in my experience, its a rare “POST” that only accepts content and doesn’t send anything in return.You will need to use
WebRequestdirectly to handle both post and response.