Skip to content

Commit 9c06ab4

Browse files
committed
remove code to set container public access - Issue 8163
1 parent 6499315 commit 9c06ab4

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

ImageResizeWebApp/ImageResizeWebApp/Helpers/StorageHelper.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ public static async Task<List<string>> GetThumbNailUrls(AzureStorageConfig _stor
6666
// Get reference to the container
6767
CloudBlobContainer container = blobClient.GetContainerReference(_storageConfig.ThumbnailContainer);
6868

69-
// Set the permission of the container to public
70-
await container.SetPermissionsAsync(new BlobContainerPermissions { PublicAccess = BlobContainerPublicAccessType.Blob });
71-
7269
BlobContinuationToken continuationToken = null;
7370

7471
BlobResultSegment resultSegment = null;

ImageResizeWebApp/ImageResizeWebApp/ImageResizeWebApp.csproj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@
2121
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
2222
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.0.0" />
2323
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.0.0" />
24-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="2.0.0" />
25-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.0.0" />
26-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.Design" Version="2.0.0-preview1-final" />
27-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.0.0" />
24+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="2.1.0" />
25+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.1.0" />
26+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.1.0" />
2827
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="2.0.0" />
2928
<PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="2.0.0" />
3029
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.0.0" />

0 commit comments

Comments
 (0)