Uploading a file with WCF REST Services?

I don't understand what your code is trying to do. Have you considered actually using a WCF client and a WCF service for doing the actual upload itself? There is a sample that does this!

This blog post details how to use the programming model on the service side, and this follow-up blog post details how to use it on the client side. I've seen it used quite a bit for file upload and image transfer scenarios, so it might help your situation as well! The example present in those blog posts is a file upload one Hope this helps!

I don't understand what your code is trying to do. Have you considered actually using a WCF client and a WCF service for doing the actual upload itself? There is a sample that does this!

This blog post details how to use the programming model on the service side, and this follow-up blog post details how to use it on the client side. I've seen it used quite a bit for file upload and image transfer scenarios, so it might help your situation as well! The example present in those blog posts is a file upload one.

Hope this helps!

I tried to implement that tutorial but since I am new to WCF, did not manage. Basically created the BlogPostRaw class, and when I tried to add it to the running services (Service1), it threw an error. Can you guide me on how to set up that example?

– Johann Apr 18 at 8:20 can you send me a sample of this code cause I still cannot get it to work properly – Johann Apr 20 at 12:03 I solved it in another way. Hosted the service on my server and called it from the code. Thanks for your help – Johann Apr 20 at 21:27 Sorry, just saw this.

Glad to hear you solved it! – krisragh Apr 21 at 4:06.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions