-
January 5th, 2009, 07:55 AM
#1
Return Raw Image from WCF
I have a webservice and by exposing get/put handlers, i can return raw image bytes of an image to the browser...i need to implement something similar using WCF...does anyone know of any samples of how to do this?
thanks
-
January 6th, 2009, 01:11 AM
#2
Re: Return Raw Image from WCF
If you haven't done much with WCF, I would suggest starting with one of the msdn WCF samples and then modify it to return the byte array.
Once you get that working, then create a new WCF service from scratch (i.e. from the new project wizard).
If at all possible, code this up using VS2008 (instead of VS2005) as the WCF support for 2008 is better.
-
January 6th, 2009, 02:23 PM
#3
Re: Return Raw Image from WCF
Thanks for the advice...I will do so.
-
January 6th, 2009, 03:50 PM
#4
Re: Return Raw Image from WCF
If you run into issues, please post back.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|