Implement Azurite
This commit is contained in:
		| @@ -10,7 +10,7 @@ namespace Core.Blueprint.DAL.Storage.Contracts | ||||
|         Task<IEnumerable<BlobFileAdapter>> GetBlobsListAsync(string? prefix); | ||||
|         Task<Response<BlobContentInfo>> UploadBlobAsync(string blobName, Stream content); | ||||
|         Task<BlobFileAdapter> UploadBlobAsync(BlobAddDto newBlob); | ||||
|         BlobDownloadUriAdapter DownloadBlobAsync(string blobName); | ||||
|         ValueTask<BlobDownloadUriAdapter> DownloadBlobAsync(string blobName); | ||||
|         Task<BlobFileAdapter?> DeleteBlobAsync(string fileName); | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -11,7 +11,7 @@ | ||||
|   </ItemGroup> | ||||
|  | ||||
|   <ItemGroup> | ||||
|     <PackageReference Include="Blueprint.Storage" Version="0.0.1" /> | ||||
|     <PackageReference Include="Blueprint.Storage" Version="0.0.3" /> | ||||
|   </ItemGroup> | ||||
|  | ||||
| </Project> | ||||
|   | ||||
| @@ -27,9 +27,9 @@ namespace Core.Blueprint.DAL.Storage.Service | ||||
|             return await blobStorageProvider.ListBlobsAsync(prefix); | ||||
|         } | ||||
|  | ||||
|         public BlobDownloadUriAdapter DownloadBlobAsync(string blobName) | ||||
|         public async ValueTask<BlobDownloadUriAdapter> DownloadBlobAsync(string blobName) | ||||
|         { | ||||
|             var result = blobStorageProvider.GenerateBlobDownloadUri(blobName); | ||||
|             var result = await blobStorageProvider.GenerateBlobDownloadUri(blobName); | ||||
|             return result; | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user