An image is worth a thousand HTML tags [How to: Display a custom image with an ASP.NET web page]


This blog has moved to a new location and comments have been disabled.

All old posts, new posts, and comments can be found on The blog of dlaa.me.

See you there!

Comments (4)

  1. CHash2 says:

    Hi

    I posted the string in the above url

    http://chash2.blogspot.com/

  2. heaths says:

    You might actually consider using an .ashx file or make your own handler. The Page class has a lot of overhead that if you’re not utilizing it can be expensive.

  3. Mihailik says:

    Excellent note about ‘using’, Delay. Unfortunately, MSDN skip it so often :-(

    And that story continues even at Microsoft Certification Exams.

    And my 2 cents addition. Some standard image formats cannot be saved right to OutputStream (TIFF, if I recall it correct). It seems such image codecs require seeking forward-backward of underlying Stream during saving. In that case intermediate MemoryStream is solution.

  4. Delay's Blog says:

    In a previous post, I referred to some MSDN sample code and outlined the process of creating an ASP.NET…