Uploading blockblob and setting contenttype

后端 未结 6 1119
旧巷少年郎
旧巷少年郎 2020-12-15 16:20

I\'m using Microsoft.WindowsAzure.Storage.* library from C#.

This is how I\'m uploading things to storage:

// Store in storage
CloudStor         


        
6条回答
  •  太阳男子
    2020-12-15 17:09

    After you make any changes to Properties, you have to make a call to CloudBlockBlob.SetProperties() to actually save those changes.

    Think of it as something similar to LINQ-to-Entities. You can make any changes you want to your local object, but until you call SaveChanges(), nothing is actually saved.

提交回复
热议问题