How do you bind to Azure Blob Storage?
Short answer: Use [BlobTrigger] for input or [Blob] for output. Example (input blob): [FunctionName("BlobProcessor")] public static void Run( [BlobTrigger("input-container/{name}")] Stream blobStream, string name, ILogger log) { log.LogInformation($"Processing blob: {name}"); } Example (output blob): [Blob("output-container/output.txt", FileAccess.Write)] out string outputBlob
Real-world example (ShopNest)
Product images upload to Azure Blob Storage; the DB only stores the blob URL.
Say this in the interview
- Define — one clear sentence (the short answer above).
- Example — relate it to a project like ShopNest or your real work.
- Trade-off — when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png