image cache folder

Discussion in 'ASP .Net Building Controls' started by Dave Slinn, Nov 24, 2004.

  1. Dave Slinn

    Dave Slinn Guest

    I am writing a control that will dynically generate graphic images (.png
    files) using the System.Drawing namespaces. I would like to save these
    images to the hard drive so that later instances of the controls that need
    that same 'type' of graphic can reuse it, instead of regenerating it each
    time. Basically, I want to 'cache' the image for later use.

    What's the best way for a web custom control to go about handling this -
    given the fact that folder the images are stored to must be web folder so
    they can be referenced by the web application.

    Would it be better to just create a folder off the root of C: (or perhaps
    read a folder path from a .config file or the registry), and then just rely
    on the Web admin to setup a virtual folder to that folder....?
     
    Dave Slinn, Nov 24, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jeff Nokes

    Cache::Cache Stale Segments

    Jeff Nokes, Sep 30, 2003, in forum: Perl
    Replies:
    0
    Views:
    589
    Jeff Nokes
    Sep 30, 2003
  2. Mike John
    Replies:
    0
    Views:
    524
    Mike John
    Jul 28, 2003
  3. DesignerX

    Page.Cache vs HttpContext.Current.Cache

    DesignerX, Jan 20, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    8,292
    vMike
    Jan 20, 2004
  4. =?Utf-8?B?b25l?=
    Replies:
    1
    Views:
    5,313
    Karl Seguin [MVP]
    Mar 8, 2006
  5. Jake Barnes
    Replies:
    7
    Views:
    211
    Evertjan.
    Dec 8, 2005
Loading...

Share This Page