Search code examples
asp.netasp.net-mvcazureazure-storageazure-blob-storage

Is there any open source folder/browser/creator for Azure Blob Storage?


We are looking to create a document management area that models a standard folder structure using Azure blob storage in an MVC3 applicaiton.

E.g.

  1. Users can create folders
  2. User can upload documents to folders
  3. Users can list directory contents etc
  4. Users can delete documents
  5. Users can download documents

Now I appreciate Azure Blob storage only has containers and the rest is faked by slashes creating paths. However this sort of functionality seems like the sort of thing someone else must have created?

I did some searching but coultn't find anything. Basically something like CloudXplorer or Azure Storage Explorer but web based

Does anyone know of any azure blob storage implementation with web front end (ideally MVC)?


Solution

  • You can start looking at BlobShare, an MVC application which allows you to upload, download, view, share, ... blobs:

    enter image description here

    However, for the sorting part you'll need to build something yourself. I would personally consider using the Windows Azure Caching (Preview) to do this; whenever you access a 'directory', cache the blobs in that 'directory' and do the sorting based on the data in teh cache (same applies to paging). And use something like Service Bus Topics / Queues to refresh the cache whenever someone adds/deletes/renames/... a blob (+ timeout for directories not accessed in X minutes).