Azure storage emulator - blob creation gives 403 Forbidden message

前端 未结 5 1457
没有蜡笔的小新
没有蜡笔的小新 2020-12-16 16:41

I am attempting to use the Azure Storage Emulator to work with blob storage. I just cannot seem to get it to work and have wasted an entire day trying without success. I kee

5条回答
  •  抹茶落季
    2020-12-16 16:57

    container.SetPermissions(
                        new BlobContainerPermissions
                        {
                            PublicAccess =
                                BlobContainerPublicAccessType.Blob
                        });
    

    When initialize connection. But first, use a Client for Storage and change permission of container using the Client.

    Works for me ;)

提交回复
热议问题