Skip to content

Storage Accounts (blobs)

We use Azure Storage Accounts for storing files (blob storage). The other features (queues, tables etc) are not used.

  • Each area should have its own storage account (if it needs to store things).
  • Unless strictly necessary, the area should not have more than one storage account.
  • The files should be organized in a suitable hierarchy.
    • Remember that more types of files might be needed to be saved later.
    • Remember that filtering/searching in blob storage is done by prefix of the full path. So if many files are saved for a single user, it might be good to group them under the user (/typeofdata/[userid]/file1 /typeofdata/[userid]/file2 etc). This way it will be possible to for example delete all files for a specific user easily (compared to if file1, file2 were directly under /typeofdata, then the only way to delete them is to query out all the files from the database, and then iterate over them one by one.