Web API Controller convert MemoryStream into StreamContent
I have a large collection of images stored on a secured server some of which need to be displayed on a world facing portal. The portal's server is inside a DMZ which allows requests in but prevents direct requests from moving through to secured domain. The images are cataloged using SOLR and can be downloaded via an internal (apache?) server from http://intenalname/folderA/folderAB/file.jpg Inside my PhotoController I can create an instance of the WebClient , give it the url and get a MemoryStream . If I attempt to use this memory stream to populate the response.content I get an empty response