IHttpHandler Example Needed for C # ASP.Net Image Type Files

Can anyone provide a good example of IHttpHnalder for handling image type. I want to resize an image hosted on my server.

+1


source to share


3 answers


Problem using iHttpHandler

and



How to find out which image was requested

Both have examples of HTTPHandlers for serving images.

+2


source


Zhaf and Adi's answers seem to point in the right direction already, but if you need an additional example ...



My article on BlobStreams

for Microsoft.NET magazine here in Holland
includes a very simple example of serving images from a BLOB database . Can't remember if I used an example IHttpHandler

or a simple ASP.NET page, but for the code you want, it really doesn't matter that much.

+1


source


How. http://blog.jasonnussbaum.com/?p=104

The source is available at downlaod.

If you resize the GIF, you can also watch image quantization .

0


source







All Articles