Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Serving Blobs in CustomFileHandler

$
0
0

Hi, there,

I need to do some extra processing on a media type. I am following the code sample provided on this page.

http://world.episerver.com/documentation/items/developers-guide/episerver-cms/75/content/assets-and-media/media-types-and-templates/

I have confirmed that the handler gets called when that media type is called. The issue is that it is not returning the pdf file.

So I have two questions. First, is there a method that the framework provides to serve blobs?

And the second question. In case there is no method to server blobs, is there a method to turn blobs into a Binary Stream?

Thanks in advance.


Viewing all articles
Browse latest Browse all 9076

Trending Articles