Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > image cache folder

Thread Tools

image cache folder

Dave Slinn
Posts: n/a
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....?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET Cache vs Window System Cache Sergey via ASP .Net 0 11-15-2006 03:33 PM
client-side cache vs server-side cache vs ajax vs callback =?Utf-8?B?b25l?= ASP .Net 1 03-08-2006 12:25 PM
image cache causes trouble, setInterval and innerHTML fail, together, to get me a new image Jake Barnes Javascript 7 12-08-2005 09:09 AM
Page.Cache vs HttpContext.Current.Cache DesignerX ASP .Net 5 01-20-2004 10:55 PM
Cache::Cache Stale Segments Jeff Nokes Perl 0 09-30-2003 04:34 PM