Where to save temp files for Windows Azure website, and access them from worker role? -


i have website users upload images , processes on these images, user download these images, , have windows app deletes these images based on schedule, , deletes images older 1 hour, means user can access uploaded images 1 hour.

currently have website , windows app working on same dedicated server, , want move azure.

my question is:
save these images, need keep 1 hour, , able access these images worker role delete them based on schedule?

i put website on windows azure websites

the answer depend on web app running, , i'm thinking question may end getting closed due broad nature of it. but... in general, should consider using blob storage images. way, any compute instance in azure can access it, whether in virtual machines, web/worker role instances, or web site instances.

as 1-hour access, can set shared access signatures expire in hour. can have these links embedded in html output, , have users direct-access images. deleting, i'm sure there lots of techniques. 1 such technique place "delete blob" message, specific blob, on azure queue, initial invisibility of 1-hour. can have background task reading queue , deleting old blobs.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -