How do I upload a file, process it and return a result file in a single request to a REST WCF service?

Posted by sharptooth on Stack Overflow See other posts from Stack Overflow or by sharptooth
Published on 2011-01-17T09:49:17Z Indexed on 2011/01/17 9:53 UTC
Read the original article Hit count: 184

Filed under:
|
|
|

I need to implement the following scenario in a REST service implemented in WCF:

  • the user submits a binary file and a set of parameters
  • the server consumes the file, does some clever work and generates a binary output file
  • the user retrieves that binary result file

and all that is done in a single operation from the client perspective.

It's pretty easy in a non-REST service. How do I do that in a REST service? Where do I get started?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about wcf