Azure Blob 400 Bad request on Creation of container

后端 未结 12 2524
夕颜
夕颜 2020-12-15 16:26

I\'m developing an ASP.Net MVC 4 app and I\'m using Azure Blob to store the images that my users are going to upload. I have the following code:

 var storag         


        
12条回答
  •  青春惊慌失措
    2020-12-15 16:53

    I encountered this error after updating the packages but not my code. My issue is that the connection string format and content has changed since I first started using Azure Storage several years ago. Make sure to update your connection string appropriately from the access keys options within the azure portal.

    In my case: I was missing this in my connection string: EndpointSuffix=core.windows.net

提交回复
热议问题