Roadmap › Microsoft Azure for .NET Developers › Module: Data and Storage
Lessons in this course (14)

6. Azure Storage account

Basic★ Must knowLesson 6 of 14
ServiceStoresUse
Blob StorageObjects (files) — block, append, page blobsImages, documents, backups, data lake (ADLS Gen2 with hierarchical namespace)
Queue StorageSimple messages (64 KB)Basic background work
Table StorageNoSQL key-attributeCheap structured data
Azure FilesSMB/NFS file sharesLift-and-shift shared folders
  • Access tiers for blobs: Hot, Cool (30-day min), Cold (90-day min), Archive (180-day min, offline — rehydrate hours); lifecycle management policies move/delete automatically.
  • Redundancy: LRS (3 copies in one datacenter), ZRS (across zones), GRS/RA-GRS (plus secondary region), GZRS/RA-GZRS.
  • Secure access: Entra ID RBAC + managed identity (preferred), SAS tokens (time-limited, scoped; user delegation SAS best), account keys (avoid), private endpoints, firewall.
csharp
var container = new BlobContainerClient(new Uri("https://stshop.blob.core.windows.net/invoices"), new DefaultAzureCredential());
await container.CreateIfNotExistsAsync();
await container.GetBlobClient($"{invoiceId}.pdf").UploadAsync(pdfStream, overwrite: true);