Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 717847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:27:32+00:00 2026-05-14T05:27:32+00:00

I am generating a System.Drawing.Bitmap on the fly in an ASP.NET Custom Web Server

  • 0

I am generating a System.Drawing.Bitmap on the fly in an ASP.NET Custom Web Server Control, and then I want to serve this bitmap as part of the WebResource, because I do not want to save it on the hosting computer.

Is there a way to instruct ASP.NET to serve the generated System.Drawing.Bitmap as part of it’s WebResource? (therefore making it an “Embedded Resource”)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T05:27:33+00:00Added an answer on May 14, 2026 at 5:27 am

    Use an HTTP Handler. The handler is basically a piece of code executed when a resource with a specified extension is requested from your server. Since you want a dynamically generated image, you would do that in the code for the handler and return it as a response. Embedding wouldn’t work, because you can only embed static information. Here are some links:

    • http://www.15seconds.com/Issue/020417.htm
    • http://support.microsoft.com/kb/308001
    • http://www.developerfusion.com/article/4643/implementing-http-handlers-in-aspnet/
    • http://www.michaelflanakin.com/Articles/NET/NET1x/ImplementingHTTPHandlers/tabid/173/Default.aspx
    • http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=392
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a survey generating system in asp.net. i asked an ealier question
I'm trying to get a System.Drawing.Image (generated in a .NET dll) into a picture
I want to avoid generating duplicate numbers in my system. CreateNextNumber() will: Find the
I'm dynamically generating image from text, and existing image on my asp.net website. Here
Im generating a file to present to the user for download, but the server
I have a WPF application and I use external library for generating documents. This
I am generating an RSS 2.0 feed using System.ServiceModel.Syndication.SyndicationFeed for Outlook 2007 SP2 clients,
Ideally I want to be using the CreateObject delegate because the code generating these
I'm generating (using System.Reflection.Emit) two types: call them foo, bar. The catch is, foo
Using VB 6 and Crystal Report 8.5 In client system while generating the report,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.